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();
        }
Beispiel #2
0
 internal StateCollectionProperty(ServiceStore <K> store, ServiceBase owner, Expression <Func <K, IStateList <T> > > prop)
     : base(store, owner, prop)
 {
 }
Beispiel #3
0
 internal StateProperty(ServiceStore <K> store, ServiceBase owner, Expression <Func <K, T> > prop)
     : base(store, owner, prop)
 {
     _setter = prop.AsSetter();
 }