Click or drag to resize

RecroDictDataAnnotationsProviderCreateMetadata Method

Gets the metadata for the specified property.

Namespace:  Recrovit.RecroGridFramework
Assembly:  Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 1.7.3
Syntax
C#
protected override ModelMetadata CreateMetadata(
	IEnumerable<Attribute> attributes,
	Type containerType,
	Func<Object> modelAccessor,
	Type modelType,
	string propertyName
)

Parameters

attributes
Type: System.Collections.GenericIEnumerableAttribute
The attributes.
containerType
Type: SystemType
The type of the container.
modelAccessor
Type: SystemFuncObject
The model accessor.
modelType
Type: SystemType
The type of the model.
propertyName
Type: SystemString
The name of the property.

Return Value

Type: ModelMetadata
The metadata for the property.
See Also