Show / Hide Table of Contents

Class ModelRefPropertiesProvider

A reference properties provider which uses the model space.

Inheritance
System.Object
DefaultRefPropertiesProvider
ModelRefPropertiesProvider
Implements
IRefPropertiesProvider
Inherited Members
DefaultRefPropertiesProvider.GetRefProperties(Object)
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 Source

ModelRefPropertiesProvider(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 Source

ComputeRefProperties(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
DefaultRefPropertiesProvider.ComputeRefProperties(ITypeInfo)
| Improve this Doc View Source

IsRefProperty(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.

Overrides
DefaultRefPropertiesProvider.IsRefProperty(IPropertyInfo)

Implements

IRefPropertiesProvider

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX