TessaApplicationProcessServiceHost - конструктор
Пространство имён: Tessa.Applications.Services.PlatformApplicationСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
public TessaApplicationProcessServiceHost(
IHostLauncher hostLauncher,
IHostConfiguration hostConfiguration,
IHostServiceAddressGenerator addressGenerator,
ILogger logger,
IPipeServer pipeServer,
IPipeRouteFactory pipeRouteFactory,
IPipeInstanceFactory pipeInstanceFactory,
[DependencyAttribute("PipeContextualInstanceResolver")] IPipeInstanceResolver pipeInstanceResolver,
Func<IPipeServerPool> createPipeServerPoolFunc,
Func<TessaApplicationPipeServer> createPipeServerFunc,
[OptionalDependencyAttribute] Func<string> getServiceAddress = null,
[OptionalDependencyAttribute] IUnityDisposableContainer disposableContainer = null
)
Public Sub New (
hostLauncher As IHostLauncher,
hostConfiguration As IHostConfiguration,
addressGenerator As IHostServiceAddressGenerator,
logger As ILogger,
pipeServer As IPipeServer,
pipeRouteFactory As IPipeRouteFactory,
pipeInstanceFactory As IPipeInstanceFactory,
<DependencyAttribute("PipeContextualInstanceResolver")> pipeInstanceResolver As IPipeInstanceResolver,
createPipeServerPoolFunc As Func(Of IPipeServerPool),
createPipeServerFunc As Func(Of TessaApplicationPipeServer),
<OptionalDependencyAttribute> Optional getServiceAddress As Func(Of String) = Nothing,
<OptionalDependencyAttribute> Optional disposableContainer As IUnityDisposableContainer = Nothing
)
public:
TessaApplicationProcessServiceHost(
IHostLauncher^ hostLauncher,
IHostConfiguration^ hostConfiguration,
IHostServiceAddressGenerator^ addressGenerator,
ILogger^ logger,
IPipeServer^ pipeServer,
IPipeRouteFactory^ pipeRouteFactory,
IPipeInstanceFactory^ pipeInstanceFactory,
[DependencyAttribute(L"PipeContextualInstanceResolver")] IPipeInstanceResolver^ pipeInstanceResolver,
Func<IPipeServerPool^>^ createPipeServerPoolFunc,
Func<TessaApplicationPipeServer^>^ createPipeServerFunc,
[OptionalDependencyAttribute] Func<String^>^ getServiceAddress = nullptr,
[OptionalDependencyAttribute] IUnityDisposableContainer^ disposableContainer = nullptr
)
new :
hostLauncher : IHostLauncher *
hostConfiguration : IHostConfiguration *
addressGenerator : IHostServiceAddressGenerator *
logger : ILogger *
pipeServer : IPipeServer *
pipeRouteFactory : IPipeRouteFactory *
pipeInstanceFactory : IPipeInstanceFactory *
[<DependencyAttribute("PipeContextualInstanceResolver")>] pipeInstanceResolver : IPipeInstanceResolver *
createPipeServerPoolFunc : Func<IPipeServerPool> *
createPipeServerFunc : Func<TessaApplicationPipeServer> *
[<OptionalDependencyAttribute>] ?getServiceAddress : Func<string> *
[<OptionalDependencyAttribute>] ?disposableContainer : IUnityDisposableContainer
(* Defaults:
let _getServiceAddress = defaultArg getServiceAddress null
let _disposableContainer = defaultArg disposableContainer null
*)
-> TessaApplicationProcessServiceHost
Параметры
- hostLauncher IHostLauncher
-
- hostConfiguration IHostConfiguration
-
- addressGenerator IHostServiceAddressGenerator
-
- logger ILogger
-
- pipeServer IPipeServer
-
- pipeRouteFactory IPipeRouteFactory
-
- pipeInstanceFactory IPipeInstanceFactory
-
- pipeInstanceResolver IPipeInstanceResolver
-
- createPipeServerPoolFunc FuncIPipeServerPool
-
- createPipeServerFunc FuncTessaApplicationPipeServer
-
- getServiceAddress FuncString (Optional)
-
- disposableContainer IUnityDisposableContainer (Optional)
-