Advice(object, RelationshipInfo, bool)
Injects the Aggregatable
dynamic impl into an object and specifies the RelationshipInfo.
Declaration
public static bool Advice(object obj, RelationshipInfo relationshipInfo, bool required = true)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object into which the impl must be injected. |
RelationshipInfo | relationshipInfo | The description of the relationship of |
bool | required |
|
Returns
Type | Description |
---|---|
bool |
|
Advice(object, RelationshipKind, bool)
Injects the Aggregatable
dynamic impl into an object and specifies the RelationshipKind.
Declaration
public static bool Advice(object obj, RelationshipKind itemsRelationship, bool required = true)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object into which the impl must be injected. |
RelationshipKind | itemsRelationship | The description of the relationship of |
bool | required |
|
Returns
Type | Description |
---|---|
bool |
|