public GhostNotifierHandler(IGhost ghost, IProtocol protocol, IGhostRequest requester, SoulNotifier notifierPassage) { this._Ghost = ghost; _Protocol = protocol; _Requester = requester; _NotifierPassage = notifierPassage; }
public GhostProvider(IProtocol protocol, IGhostRequest req) { _Active = false; _Requester = req; _NotifierPassage = new SoulNotifier(); _ReturnValueQueue = new ReturnValueQueue(); _Protocol = protocol; _InterfaceProvider = _Protocol.GetInterfaceProvider(); _Serializer = _Protocol.GetSerialize(); _Providers = new Dictionary <Type, IProvider>(); _AutoRelease = new AutoRelease(_Requester, _Serializer); }