Show / Hide Table of Contents

Delegate DI.Resolver<TContext>.BuildBehavior

A delegate for building behaviors using the specified binding context.

Namespace: SpiceSharp.Entities.DependencyInjection
Assembly: SpiceSharp.dll
Syntax
public delegate void BuildBehavior(IBehaviorContainerBuilder<TContext> builder);
Parameters
Type Name Description
IBehaviorContainerBuilder<TContext> builder

The context.

Constructors

BuildBehavior(Object, IntPtr)

Declaration
public BuildBehavior(object object, IntPtr method)
Parameters
Type Name Description
System.Object object
System.IntPtr method

Methods

BeginInvoke(IBehaviorContainerBuilder<TContext>, AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(IBehaviorContainerBuilder<TContext> builder, AsyncCallback callback, object object)
Parameters
Type Name Description
IBehaviorContainerBuilder<TContext> builder
System.AsyncCallback callback
System.Object object
Returns
Type Description
System.IAsyncResult

EndInvoke(IAsyncResult)

Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
Type Name Description
System.IAsyncResult result

Invoke(IBehaviorContainerBuilder<TContext>)

Declaration
public virtual void Invoke(IBehaviorContainerBuilder<TContext> builder)
Parameters
Type Name Description
IBehaviorContainerBuilder<TContext> builder

Extension Methods

Utility.ThrowIfNull<T>(T, String)
Back to top Generated by DocFX