Method ContainsContextObject
ContainsContextObject<T>()
Checks the build context for existence of a data that is of the specified type.
Declaration
public bool ContainsContextObject<T>() where T : IContextObject
Returns
Type | Description |
---|---|
bool |
|
Type Parameters
Name | Description |
---|---|
T | Type of data to check for existence. |
Implements
ContainsContextObject(Type)
Checks the build context for existence of a data that is of the specified type.
Declaration
public bool ContainsContextObject(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | Type of data to check for existence. |
Returns
Type | Description |
---|---|
bool |
|