UnwrappingFactory.decorated - multiple declarations

Function UnwrappingFactory.decorated

Set the decorated object for decorator.

UnwrappingFactory!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 UnwrappingFactory.decorated

Get the decorated object.

ObjectFactory decorated ();

Returns

ObjectFactory decorated object