Method SetContextObject
SetContextObject<T>(IContextObject)
Adds the data of the specified type to the build context.
Declaration
void SetContextObject<T>(IContextObject contextObject) where T : IContextObject
Parameters
Type | Name | Description |
---|---|---|
IContextObject | contextObject | Object holding the data to add. |
Type Parameters
Name | Description |
---|---|
T | Type of data to add. |
SetContextObject(Type, IContextObject)
Adds the data of the specified type to the build context.
Declaration
void SetContextObject(Type type, IContextObject contextObject)
Parameters
Type | Name | Description |
---|---|---|
Type | type | Type of data to add. |
IContextObject | contextObject | Object holding the data to add. |
SetContextObject(IContextObject)
Adds the data to the build context. Type will be inferred using Reflection.
Declaration
void SetContextObject(IContextObject contextObject)
Parameters
Type | Name | Description |
---|---|---|
IContextObject | contextObject | Object holding the data to add. |