Open sandboxFocus
  • TOC

Metalama Documentation

Getting started

Video tutorials

Conceptual documentation

Commented examples

API documentation

Aspect API

Extensions API

Patterns API

Flashtrace API

Introspection API

Advanced API

Post­Sharp API migration

  • Article

Property ValidateMethod

ValidateMethod

Gets or sets the name of the method that validates the value of the property.

Declaration
public string? ValidateMethod { get; set; }
Property Value
Type Description
string
Remarks

The method must be declared in the same class as the target property.

If this property is not set then the default ValidateFoo value is used, where Foo is the name of the target property.

  • Navigation