ValidatableTypeAttribute 类

定义

指示类型可验证,以支持验证生成器的发现。

public ref class ValidatableTypeAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class)]
[System.Diagnostics.CodeAnalysis.Experimental("ASP0029", UrlFormat="https://aka.ms/aspnet/analyzer/{0}")]
public sealed class ValidatableTypeAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
[<System.Diagnostics.CodeAnalysis.Experimental("ASP0029", UrlFormat="https://aka.ms/aspnet/analyzer/{0}")>]
type ValidatableTypeAttribute = class
    inherit Attribute
Public NotInheritable Class ValidatableTypeAttribute
Inherits Attribute
继承
ValidatableTypeAttribute
属性

构造函数

名称 说明
ValidatableTypeAttribute()

指示类型可验证,以支持验证生成器的发现。

适用于