internal StatePropertyReader(ServiceStore <K> store, ServiceBase owner, Expression <Func <K, T> > prop) { _store = store; _owner = owner; _runner = owner.GetRunner(); Changed = _store.Observe(prop); _getter = prop.Compile(); }
internal StateCollectionProperty(ServiceStore <K> store, ServiceBase owner, Expression <Func <K, IStateList <T> > > prop) : base(store, owner, prop) { }
internal StateProperty(ServiceStore <K> store, ServiceBase owner, Expression <Func <K, T> > prop) : base(store, owner, prop) { _setter = prop.AsSetter(); }