// At least for now, OrderIndex is not used in Equals and GetHashCode methods. protected bool Equals(IeState other) { return(Id.GetValueOrDefault() == other.Id.GetValueOrDefault() && string.Equals(Name, other.Name) && IsInitial.GetValueOrDefault() == other.IsInitial.GetValueOrDefault() && string.Equals(Location ?? string.Empty, other.Location ?? string.Empty)); }
public WorkflowGraphNode(IeState state) { _state = state; _nextNodes = new List <WorkflowGraphNode>(); }