次の方法で共有


ServiceDescriptor.ImplementationFactory Property

Definition

Gets the factory used for creating service instance, or returns null if IsKeyedService is true.

public:
 property Func<IServiceProvider ^, System::Object ^> ^ ImplementationFactory { Func<IServiceProvider ^, System::Object ^> ^ get(); };
public Func<IServiceProvider,object>? ImplementationFactory { get; }
member this.ImplementationFactory : Func<IServiceProvider, obj>
Public ReadOnly Property ImplementationFactory As Func(Of IServiceProvider, Object)

Property Value

Remarks

If IsKeyedService is true, KeyedImplementationFactory should be called instead.

Applies to