ServiceDescriptor.ImplementationFactory Propiedad
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Obtiene el generador usado para crear una instancia de servicio o devuelve null si IsKeyedService es 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)
Valor de propiedad
Comentarios
Si IsKeyedService es true, KeyedImplementationFactory se debe llamar a en su lugar.