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