ContentClientController - конструктор
Пространство имён: Tessa.Web.Client.ControllersСборка: Tessa.Web.Client (в Tessa.Web.Client.dll) Версия: 4.0.4
public ContentClientController(
IContentHandlerResolver contentHandlerResolver,
ITessaServerSettings serverSettings,
IContentAccessTokenGenerator tokenGenerator,
[OptionalDependencyAttribute("GetContentByLink")] ActivitySource? activitySource = null,
[OptionalDependencyAttribute] TessaMetrics? metrics = null
)
Public Sub New (
contentHandlerResolver As IContentHandlerResolver,
serverSettings As ITessaServerSettings,
tokenGenerator As IContentAccessTokenGenerator,
<OptionalDependencyAttribute("GetContentByLink")> Optional activitySource As ActivitySource = Nothing,
<OptionalDependencyAttribute> Optional metrics As TessaMetrics = Nothing
)
public:
ContentClientController(
IContentHandlerResolver^ contentHandlerResolver,
ITessaServerSettings^ serverSettings,
IContentAccessTokenGenerator^ tokenGenerator,
[OptionalDependencyAttribute(L"GetContentByLink")] ActivitySource^ activitySource = nullptr,
[OptionalDependencyAttribute] TessaMetrics^ metrics = nullptr
)
new :
contentHandlerResolver : IContentHandlerResolver *
serverSettings : ITessaServerSettings *
tokenGenerator : IContentAccessTokenGenerator *
[<OptionalDependencyAttribute("GetContentByLink")>] ?activitySource : ActivitySource *
[<OptionalDependencyAttribute>] ?metrics : TessaMetrics
(* Defaults:
let _activitySource = defaultArg activitySource null
let _metrics = defaultArg metrics null
*)
-> ContentClientController
Параметры
- contentHandlerResolver IContentHandlerResolver
-
- serverSettings ITessaServerSettings
-
- tokenGenerator IContentAccessTokenGenerator
-
- activitySource ActivitySource (Optional)
-
- metrics TessaMetrics (Optional)
-