Class DisposableDecorator<TService>
A disposable Decorator<TService>.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Namespace: IRM.Dependencies
Assembly: IRM.dll
Syntax
public class DisposableDecorator<TService> : Decorator<TService>, IDisposable
Type Parameters
TService
The type of class to decorate. |
Constructors
DisposableDecorator(TService)
Initializes a new instance of the DisposableDecorator<TService> class.
Declaration
public DisposableDecorator(TService instance)
Parameters
TService
instance
The instance to decorate. |
Methods
Dispose()
Declaration
public void Dispose()
Implements
System.IDisposable.Dispose()