PropertyAdapter.GetPropertiesWithSameName Method

Namespace
Kampute.DocToolkit.Metadata.Adapters
Assembly
  • Kampute.DocToolkit.dll

Definition

Retrieves properties from the specified type that have same name as this property.
protected IEnumerable<IProperty> GetPropertiesWithSameName(IType type, bool preserveOrder = false)

Parameters

type IType
The type to search for similar property names.
preserveOrder bool optional
Indicates whether to preserve the order of properties as they appear in the type.

Returns

IEnumerable<IProperty>
An enumerable collection of IProperty objects with same name as this property.