C# Class RunningObjects.Core.RunningObjectsModelMetadataProvider

Inheritance: System.Web.Mvc.DataAnnotationsModelMetadataProvider
Show file Open project: edurdias/RunningObjects

Public Methods

Method Description
GetMetadataForProperty ( Func modelAccessor, Type containerType, string propertyName ) : ModelMetadata
GetMetadataForType ( Func modelAccessor, Type modelType ) : ModelMetadata

Protected Methods

Method Description
GetMetadataForProperty ( Func modelAccessor, Type containerType, System propertyDescriptor ) : ModelMetadata

Private Methods

Method Description
GetMetadataForModel ( Func modelAccessor ) : ModelMetadata
GetMetadataForParameterModel ( Func modelAccessor ) : ModelMetadata
GetMetadataForPropertyModel ( Func modelAccessor ) : ModelMetadata

Method Details

GetMetadataForProperty() protected method

protected GetMetadataForProperty ( Func modelAccessor, Type containerType, System propertyDescriptor ) : ModelMetadata
modelAccessor Func
containerType System.Type
propertyDescriptor System
return ModelMetadata

GetMetadataForProperty() public method

public GetMetadataForProperty ( Func modelAccessor, Type containerType, string propertyName ) : ModelMetadata
modelAccessor Func
containerType System.Type
propertyName string
return ModelMetadata

GetMetadataForType() public method

public GetMetadataForType ( Func modelAccessor, Type modelType ) : ModelMetadata
modelAccessor Func
modelType System.Type
return ModelMetadata