Exemple #1
0
 protected CremaServiceItemBase(CremaService service, T callback)
 {
     this.Service    = service;
     this.Callback   = callback;
     this.CremaHost  = this.Service.GetService(typeof(ICremaHost)) as ICremaHost;
     this.LogService = this.CremaHost.GetService(typeof(ILogService)) as ILogService;
 }
 public CremaHostServiceHost(CremaService service)
 {
     this.service = service;
 }
 public CremaHostService(CremaService service, ICremaHostEventCallback callback)
     : base(service, callback)
 {
     this.LogService.Debug($"{nameof(CremaHostService)} Constructor");
     this.CremaHost.CloseRequested += CremaHost_CloseRequested;
 }
 public CremaHostServiceHostProvider(CremaService service)
 {
     this.service = service;
 }