Method Advice
Advice(Object, RelationshipInfo, Boolean)
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 |
Boolean | required |
|
Returns
Type | Description |
---|---|
Boolean |
|
Advice(Object, RelationshipKind, Boolean)
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 |
Boolean | required |
|
Returns
Type | Description |
---|---|
Boolean |
|