Class Decorator
Provides a method for retrieving the innermost object of an object that might be wrapped by an <see cref="T:System.Web.Http.Services.IDecorator`1" />.
public static class Decorator
- Inheritance
-
Decorator
- Inherited Members
Methods
GetInner<T>(T)
Gets the innermost object which does not implement <see cref="T:System.Web.Http.Services.IDecorator`1" />.
public static T GetInner<T>(T outer)
Parameters
outer
TObject which needs to be unwrapped.
Returns
- T
Type Parameters
T