Share via


AnalyzerAttribute Class

Definition

Indicates that the Field generated by FieldBuilder for the target property should have its Analyzer property set to the specified analyzer.

[System.AttributeUsage(System.AttributeTargets.Property)]
public class AnalyzerAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property)>]
type AnalyzerAttribute = class
    inherit Attribute
Public Class AnalyzerAttribute
Inherits Attribute
Inheritance
AnalyzerAttribute
Attributes

Constructors

AnalyzerAttribute(String)

Indicates that the specified analyzer should be used.

Properties

Name

The name of the analyzer.

Applies to