Show / Hide Table of Contents

Class DataBehaviorProviderExtensions

Extension methods for IDataBehaviorProvider.

Inheritance
System.Object
DataBehaviorProviderExtensions
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
public static class DataBehaviorProviderExtensions

Methods

| Improve this Doc View Source

GetDataBehaviors<TBehavior>(IDataBehaviorProvider, Object)

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

Declaration
public static IEnumerable<TBehavior> GetDataBehaviors<TBehavior>(this IDataBehaviorProvider behaviorProvider, object obj)
Parameters
Type Name Description
IDataBehaviorProvider behaviorProvider

The IDataBehaviorProvider service.

System.Object obj

The object.

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

An enumeration of behaviors mathing the provided type.

Type Parameters
Name Description
TBehavior

Type of the behavior.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX