RegularExpressionAttribute Class
Custom attribute that, when added to a field, property or parameter, throws
an ArgumentException if the target is assigned a value that
does not match a given regular expression. If the target is a nullable type, null strings are accepted and do not
throw an exception.
Inheritance
RegularExpressionAttribute
Assembly: Metalama.Patterns.Contracts.dll
public class RegularExpressionAttribute : RegularExpressionBaseAttribute, IAspect<IParameter>, IEligible<IParameter>, IAspect<IFieldOrPropertyOrIndexer>, IEligible<IFieldOrPropertyOrIndexer>, IConditionallyInheritableAspect, IAspect, ICompileTimeSerializable, ITemplateProvider
Constructors
Properties
Methods
See Also