CompilationControllerPostSetSourcesFile - метод

Set script sources from file.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.3+85077ef6104b2e81389e52f8b825d77905da3c54
C#
[HttpPostAttribute("set-sources-file")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[ConsumesAttribute("multipart/form-data", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<PlainValidationResult>> PostSetSourcesFile(
	[RequiredAttribute] IFormFile file,
	[FromFormAttribute(Name = "request")][ModelBinderAttribute(BinderType = typeof(TypedJsonBinder))] TessaCompilationRequest<TessaCompilationItem>? request = null,
	CancellationToken cancellationToken = default
)

Параметры

file  IFormFile
File with sources.
request  TessaCompilationRequestTessaCompilationItem  (Optional)
Request with information about objects to upload scripts or null if all scripts should be uploaded.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

Возвращаемое значение

TaskActionResultPlainValidationResult
Result of operation.

См. также