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