Udostępnij za pośrednictwem


ContentResultExecutor Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy ContentResultExecutor.

public:
 ContentResultExecutor(Microsoft::Extensions::Logging::ILogger<Microsoft::AspNetCore::Mvc::Infrastructure::ContentResultExecutor ^> ^ logger, Microsoft::AspNetCore::Mvc::Infrastructure::IHttpResponseStreamWriterFactory ^ httpResponseStreamWriterFactory);
public ContentResultExecutor (Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Mvc.Infrastructure.ContentResultExecutor> logger, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory httpResponseStreamWriterFactory);
new Microsoft.AspNetCore.Mvc.Infrastructure.ContentResultExecutor : Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Mvc.Infrastructure.ContentResultExecutor> * Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory -> Microsoft.AspNetCore.Mvc.Infrastructure.ContentResultExecutor
Public Sub New (logger As ILogger(Of ContentResultExecutor), httpResponseStreamWriterFactory As IHttpResponseStreamWriterFactory)

Parametry

logger
ILogger<ContentResultExecutor>

Rejestrator do użycia.

httpResponseStreamWriterFactory
IHttpResponseStreamWriterFactory

Fabryka składników zapisywania strumienia.

Dotyczy