CachedAssociatedMetadataProvider<TModelMetadata>.CreateMetadata Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
This member overrides AssociatedMetadataProvider.CreateMetadata(IEnumerable<Attribute>, Type, Func<TResult>, Void, Object).
Namespace: System.Web.Http.Metadata.Providers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Protected Overrides NotOverridable Function CreateMetadata ( _
attributes As IEnumerable(Of Attribute), _
containerType As Type, _
modelAccessor As Func, _
modelType As Void, _
propertyName As Object _
) As ModelMetadata
protected override sealed ModelMetadata CreateMetadata(
IEnumerable<Attribute> attributes,
Type containerType,
Func modelAccessor,
void modelType,
Object propertyName
)
protected:
virtual ModelMetadata^ CreateMetadata(
IEnumerable<Attribute^>^ attributes,
Type^ containerType,
Func^ modelAccessor,
void modelType,
Object^ propertyName
) override sealed
abstract CreateMetadata :
attributes:IEnumerable<Attribute> *
containerType:Type *
modelAccessor:Func *
modelType:unit *
propertyName:Object -> ModelMetadata
override CreateMetadata :
attributes:IEnumerable<Attribute> *
containerType:Type *
modelAccessor:Func *
modelType:unit *
propertyName:Object -> ModelMetadata
protected override final function CreateMetadata(
attributes : IEnumerable<Attribute>,
containerType : Type,
modelAccessor : Func,
modelType : Void,
propertyName : Object
) : ModelMetadata
Parameters
- attributes
Type: System.Collections.Generic.IEnumerable<Attribute>
- containerType
Type: System.Type
- modelAccessor
Type: System.Func<TResult>
- modelType
Type: System.Void
- propertyName
Type: System.Object
Return Value
Type: System.Web.Http.Metadata.ModelMetadata