public ComputedValueInvoker( EventHandler <ComputedValueChangedArgs> computedValueChangedEvent, IComputedValueInvokable computedValue, IStoreHolder <TStore> storeHolder) : base(computedValue, storeHolder) { this.computedValueChangedEvent = computedValueChangedEvent; this.computedValue = computedValue; }
public StoreAccessor( IStoreHolder <TStore> storeHolder, IPropertyProxyFactory propertyProxyFactory, IPropertyProxyWrapper propertyProxyWrapper) : base(storeHolder) { this.propertyProxyWrapper = propertyProxyWrapper; IPropertyProxy propertyProxy = propertyProxyFactory.Create(storeHolder.RootObservableProperty, storeHolder.StoreReactables); Store = propertyProxyWrapper.WrapPropertyObservable <TStore>(propertyProxy); storeHolder.DependencyInjector.InjectDependency(Store); PlantSubscriber(propertyProxy); }