State Classe

Definição

Modela o estado em que uma máquina de estado pode estar.Models the state which a state machine can be in.

public ref class State sealed
public sealed class State
type State = class
Public NotInheritable Class State
Herança
State

Construtores

State()

Inicializa uma nova instância da classe State.Initializes a new instance of the State class.

Propriedades

DisplayName

Obtém ou define um nome amigável opcional que é usado para depuração, validação, manipulação de exceções e acompanhamento.Gets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking.

Entry

Obtém ou define a atividade executada ao entrar no estado.Gets or sets the activity performed when entering the state.

Exit

Obtém ou define a atividade executada ao sair do estado.Gets or sets the activity performed when exiting the state.

IsFinal

Obtém ou define se o estado é um estado final.Gets or sets whether the state is a final state.

Transitions

Obtém a coleção de transições resultantes deste estado.Gets the collection of transitions that come from this state.

Variables

Obtém a coleção de objetos de variável associados ao estado.Gets the collection of variable objects associated with the state.

Métodos

Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object.

(Herdado de Object)
GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)

Aplica-se a