Class DefaultDataBehaviorProvider
A default data behavior provider.
Inheritance
System.Object
DefaultDataBehaviorProvider
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.Behaviors
Assembly: Kephas.Data.dll
Syntax
[OverridePriority(Priority.Low)]
public class DefaultDataBehaviorProvider : IDataBehaviorProvider
Constructors
| Improve this Doc View SourceDefaultDataBehaviorProvider(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 SourceGetDataBehaviors<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. |