Table of Contents

Class Decorator

Namespace
System.Web.Http.Services
Assembly
System.Web.Http.dll

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 T

Object which needs to be unwrapped.

Returns

T

Type Parameters

T