ContentResponse - конструктор
Represents the result of a content request.
Пространство имён: Tessa.ContentСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
public ContentResponse(
IValidationResultBuilder validationResult,
ContentResult? contentResult = null,
ContentCacheOptions? cacheOptions = null
)
Public Sub New (
validationResult As IValidationResultBuilder,
Optional contentResult As ContentResult = Nothing,
Optional cacheOptions As ContentCacheOptions = Nothing
)
public:
ContentResponse(
IValidationResultBuilder^ validationResult,
ContentResult^ contentResult = nullptr,
ContentCacheOptions^ cacheOptions = nullptr
)
new :
validationResult : IValidationResultBuilder *
?contentResult : ContentResult *
?cacheOptions : ContentCacheOptions
(* Defaults:
let _contentResult = defaultArg contentResult null
let _cacheOptions = defaultArg cacheOptions null
*)
-> ContentResponse
Параметры
- validationResult IValidationResultBuilder
Объект, выполняющий построение результата валидации.
- contentResult ContentResult (Optional)
- cacheOptions ContentCacheOptions (Optional)
Represents the caching options for content.
If cache options are not specified, the content response is not allowed to be cached.