예제 #1
0
 public Impl(PhasedOperation definition, IReadOnlyList <IToken> config, IReadOnlyList <SpecializedPhase> entryPoints, bool initialState)
 {
     _definition      = definition;
     Tokens           = config;
     _entryPoints     = entryPoints;
     IsInitialStateOn = string.IsNullOrEmpty(_definition._id) || initialState;
 }
예제 #2
0
 public Impl(PhasedOperation definition, SpecializedPhasedOperationConfig config)
 {
     _definition  = definition;
     Tokens       = config.Tokens;
     _entryPoints = config.EntryPoints;
 }