Example #1
0
		public ImportDisposableService(IDisposableService disposableService)
		{
			
		}
Example #2
0
 public DependentClass(IDisposableService disposableService, IDisposable disposable)
 {
     _disposableService = disposableService;
     _disposable        = disposable;
 }
 public MyJob(IDisposableService disposableService, IDatabaseService databaseService)
 {
     this.disposableService = disposableService;
     this.databaseService   = databaseService;
 }
Example #4
0
 public DisposableServiceDecorator(IDisposableService inner)
 {
     Inner = inner ?? throw new ArgumentNullException(nameof(inner));
 }
Example #5
0
 public Service(IDisposableService disposableService)
 {
     Log.DebugFormat("{0} #{1} created", typeof(Service), ++_instanceCounter);
 }