BehaviorProviderExtensions class
namespace: Serenity.Services assembly: Serenity.Net.Services
Extension methods for behavior provider
public static class BehaviorProviderExtensions
Public Members
| name | description |
|---|---|
| static AutoWrapBehaviors<TBase,TSource,TNative>(…) | Takes a list of behaviors implementing a common marker interface TBase, and converts it to a list of behaviors implementing TNative. Behaviors already implementing TNative are returned as is, while behaviors implementing only the source variant TSource are wrapped using the wrap factory function. |
| static Resolve<TRow,TBehavior>(…) | Resolves behaviors for handler, row and behavior type |
See Also
- Source: BehaviorProviderExtensions.cs