2 writes to StateId
System.Activities (2)
System\Activities\Statements\StateMachine.cs (2)
270
state.
StateId
= null;
542
state.
StateId
= StateMachineIdHelper.GenerateStateId(RootId, i);
9 references to StateId
System.Activities (9)
System\Activities\Statements\InternalState.cs (1)
125
return this.state.
StateId
;
System\Activities\Statements\StateMachine.cs (8)
226
int index = StateMachineIdHelper.GetChildStateIndex(RootId, this.InitialState.
StateId
);
247
if (!string.IsNullOrEmpty(state.
StateId
))
249
transition.Id = StateMachineIdHelper.GenerateTransitionId(state.
StateId
, i);
299
Fx.Assert(!string.IsNullOrEmpty(state.
StateId
), "StateId should have been set.");
366
else if (string.IsNullOrEmpty(transition.To.
StateId
))
488
Fx.Assert(!string.IsNullOrEmpty(this.InitialState.
StateId
), "StateId should have get set on the initialState.");
498
Fx.Assert(string.IsNullOrEmpty(this.InitialState.
StateId
), "Initial state would not have an id because it is not in the States collection.");
540
if (string.IsNullOrEmpty(state.
StateId
))