コード例 #1
0
 public InvocationCondition MatchMethod(params MemberDescriptor[] methods) =>
 (context) =>
 MemberDescriptor.MatchesAny(context.MethodName, context.MethodSymbol, true, CaseInsensitiveComparison, methods);
コード例 #2
0
 public PropertyAccessCondition MatchProperty(params MemberDescriptor[] properties) =>
 context =>
 MemberDescriptor.MatchesAny(context.PropertyName, context.PropertySymbol, false, CaseInsensitiveComparison, properties);
コード例 #3
0
 public PropertyAccessCondition MatchProperty(params MemberDescriptor[] properties) =>
 (context) =>
 MemberDescriptor.MatchesAny(context.PropertyName, context.PropertySymbol, false, properties);
コード例 #4
0
 public FieldAccessCondition MatchField(params MemberDescriptor[] fields) =>
 (context) =>
 MemberDescriptor.MatchesAny(context.FieldName, context.InvokedFieldSymbol, false, CaseInsensitiveComparison, fields);