Show / Hide Table of Contents

Class DefaultDataBehaviorProvider

A default data behavior provider.

Inheritance
System.Object
DefaultDataBehaviorProvider
Implements
IDataBehaviorProvider
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.Behaviors
Assembly: Kephas.Data.dll
Syntax
[OverridePriority(Priority.Low)]
public class DefaultDataBehaviorProvider : IDataBehaviorProvider

Constructors

| Improve this Doc View Source

DefaultDataBehaviorProvider(ICollection<IExportFactory<IDataBehavior, DataBehaviorMetadata>>)

Initializes a new instance of the DefaultDataBehaviorProvider class.

Declaration
public DefaultDataBehaviorProvider(ICollection<IExportFactory<IDataBehavior, DataBehaviorMetadata>> dataBehaviorFactories)
Parameters
Type Name Description
System.Collections.Generic.ICollection<IExportFactory<IDataBehavior, DataBehaviorMetadata>> dataBehaviorFactories

The data behavior factories.

Methods

| Improve this Doc View Source

GetDataBehaviors<TBehavior>(Type)

Gets the data behaviors of type TBehavior for the provided type.

Declaration
public IEnumerable<TBehavior> GetDataBehaviors<TBehavior>(Type type)
Parameters
Type Name Description
System.Type type

The type.

Returns
Type Description
System.Collections.Generic.IEnumerable<TBehavior>

An enumeration of behaviors matching the provided type.

Type Parameters
Name Description
TBehavior

Type of the behavior.

Implements

IDataBehaviorProvider

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)
DataBehaviorProviderExtensions.GetDataBehaviors<TBehavior>(IDataBehaviorProvider, Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX