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