Class ModelRefPropertiesProvider
A reference properties provider which uses the model space.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Data.Model.Analysis
Assembly: Kephas.Data.Model.dll
Syntax
[OverridePriority(Priority.BelowNormal)]
public class ModelRefPropertiesProvider : DefaultRefPropertiesProvider, IRefPropertiesProvider
Constructors
| Improve this Doc View SourceModelRefPropertiesProvider(IModelSpaceProvider)
Initializes a new instance of the ModelRefPropertiesProvider class.
Declaration
public ModelRefPropertiesProvider(IModelSpaceProvider modelSpaceProvider)
Parameters
Type | Name | Description |
---|---|---|
IModelSpaceProvider | modelSpaceProvider | The model space provider. |
Methods
| Improve this Doc View SourceComputeRefProperties(ITypeInfo)
Enumerates compute reference properties in this collection.
Declaration
protected override IEnumerable<IPropertyInfo> ComputeRefProperties(ITypeInfo typeInfo)
Parameters
Type | Name | Description |
---|---|---|
ITypeInfo | typeInfo | Information describing the type. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IPropertyInfo> | An enumerator that allows foreach to be used to process compute reference properties in this collection. |
Overrides
| Improve this Doc View SourceIsRefProperty(IPropertyInfo)
Query if 'propertyInfo' is reference property.
Declaration
protected override bool IsRefProperty(IPropertyInfo propertyInfo)
Parameters
Type | Name | Description |
---|---|---|
IPropertyInfo | propertyInfo | Information describing the property. |
Returns
Type | Description |
---|---|
System.Boolean | True if reference property, false if not. |