MemberAdapterFactory.CreatePropertyMetadata Method
- Namespace
- Kampute.DocToolkit.Metadata.Adapters
- Assembly
- Kampute.DocToolkit.dll
Definition
Creates the property metadata for the specified property within the given declaring type.
public virtual IProperty CreatePropertyMetadata(IType declaringType, PropertyInfo propertyInfo)Parameters
declaringTypeIType- The type metadata that contains the property.
propertyInfoPropertyInfo- The reflection property to get metadata for.
Returns
- IProperty
- A metadata representation of the specified property.
Exceptions
- ArgumentNullException
- Thrown when
declaringTypeorpropertyInfoisnull. - ArgumentException
- Thrown when
propertyInfodoes not belong todeclaringType.
