共用方式為


DependencyResolver Class

Definition

Contains static methods that add functions to use for resolving dependencies.

public ref class DependencyResolver abstract sealed
public static class DependencyResolver
type DependencyResolver = class
Public Class DependencyResolver
Inheritance
DependencyResolver

Methods

ResolveUsing(Func<Type,Object[],Object>)

Specifies a resolution function that attempts to return an instance of a specified type.

ResolveUsing(Func<Type,Object>)

Specifies a resolution function that attempts to return an instance of the specified type.

Applies to