BaseUsageValidationAttribute.TryCreatePredicate Method
TryCreatePredicate(IAspectBuilder<IMemberOrNamedType>, ReferencePredicateBuilder, out ReferencePredicate?)
Creates a ReferencePredicate based on the properties of the custom attributes.
Declaration
protected bool TryCreatePredicate(IAspectBuilder<IMemberOrNamedType> aspectBuilder, ReferencePredicateBuilder predicateBuilder, out ReferencePredicate? predicate)
Parameters
Type | Name | Description |
---|---|---|
IAspectBuilder<IMemberOrNamedType> | aspectBuilder | |
ReferencePredicateBuilder | predicateBuilder | |
ReferencePredicate | predicate |
Returns
Type | Description |
---|---|
bool |