ClassUnwrappingFactory.decorated - multiple declarations

Function ClassUnwrappingFactory.decorated

Set the decorated object for decorator.

ClassUnwrappingFactory!T decorated (
  ObjectFactory decorated
);

Throws

InvalidCastException when created type of object factory mismatches type of unwrapping factory.

Parameters

NameDescription
decorated decorated data

Returns

this

Function ClassUnwrappingFactory.decorated

Get the decorated object.

ObjectFactory decorated ();

Returns

ObjectFactory decorated object