次の方法で共有


DependencyResolver.Resolve Method

Definition

public:
 System::Object ^ Resolve(Type ^ typeToResolve, Type ^ typeToCreate, System::String ^ id, Microsoft::Practices::ObjectBuilder::NotPresentBehavior notPresent, Microsoft::Practices::ObjectBuilder::SearchMode searchMode);
public object Resolve (Type typeToResolve, Type typeToCreate, string id, Microsoft.Practices.ObjectBuilder.NotPresentBehavior notPresent, Microsoft.Practices.ObjectBuilder.SearchMode searchMode);
member this.Resolve : Type * Type * string * Microsoft.Practices.ObjectBuilder.NotPresentBehavior * Microsoft.Practices.ObjectBuilder.SearchMode -> obj
Public Function Resolve (typeToResolve As Type, typeToCreate As Type, id As String, notPresent As NotPresentBehavior, searchMode As SearchMode) As Object

Parameters

typeToResolve
Type
typeToCreate
Type
id
String
notPresent
NotPresentBehavior
searchMode
SearchMode

Returns

Applies to