Ejemplo n.º 1
0
 public ServicesConfigState(ExtendedMutatingEngine <MutatingContext <ServicesConfigurationData> > engine)
     : base(engine)
 {
     ConfigChanged = engine.EventSource <ServicesConfigurationData, ConfigurationChangedEvent>();
 }
Ejemplo n.º 2
0
 protected StateBase(ExtendedMutatingEngine <MutatingContext <TData> > engine)
 {
     OnChange = engine.EventSource(c => c.Data);
 }
Ejemplo n.º 3
0
 public SeedState(ExtendedMutatingEngine <MutatingContext <ClusterConfiguration> > engine) : base(engine)
 {
     TryJoin    = engine.EventSource <ClusterConfiguration, TryJoinEvent>();
     AddSeed    = engine.EventSource <ClusterConfiguration, AddSeedUrlEvent>();
     RemoveSeed = engine.EventSource <ClusterConfiguration, RemoveSeedUrlEvent>();
 }