public LinkedSessionValue(LinkToSession <TSession> linkToSession, DataPropertyDescriptor <TValue> descriptor) { this.LinkToSession = linkToSession; this.PropertyDescriptor = descriptor; this.LinkToSession.SessionChanged += SessionChanged; }
protected LinkToSession <Tsession> CreateLink <Tsession>(Predicate <SessionBase> matchsession) where Tsession : SessionBase { var link = new LinkToSession <Tsession>(typeof(Tsession), matchsession); SessionManager.RegisterTypeListener(link); return(link); }
protected LinkToSession <Tsession> CreateLink <Tsession>(string path) where Tsession : SessionBase { var link = new LinkToSession <Tsession>(this, path); SessionManager.RegisterPathListener(this, link); return(link); }
public LinkTosessionBool(LinkToSession <Tsession> linkTosession, DataPropertyDescriptor <bool> descriptor, bool valueOnUnlinked) : base(linkTosession, descriptor) { this.valueOnUnlinked = valueOnUnlinked; }
public LinkedsessionStore(LinkToSession <Tsession> linkTosession, DataPropertyDescriptor <TValue> descriptor) : base(linkTosession, descriptor) { AvailabilityNotifier = new NonSessionNotifier(this); }