Class Decorator<T>
- Namespace
- Cuemon
- Assembly
- Cuemon.Core.dll
Provides a generic way to support hiding of non-common extension methods by enclosing/wrapping an object within the IDecorator<T> interface.
public class Decorator<T> : IDecorator<T>
Type Parameters
T
The type of the inner wrapped object.
- Inheritance
-
Decorator<T>
- Implements
-
IDecorator<T>
Properties
ArgumentName
Gets the name of the argument from which this decorator originates.
public string ArgumentName { get; }
Property Value
- String
The name of the argument from which this decorator originates.
Inner
Gets the inner object of this decorator.
public T Inner { get; }
Property Value
- T
The inner object of this decorator.
See Also
IDecorator<T>