ApiController.MetadataProvider 属性

定义

public Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider MetadataProvider { get; set; }
member this.MetadataProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider with get, set
Public Property MetadataProvider As IModelMetadataProvider

属性值

注解

setter 仅用于单元测试目的。

适用于