ContainerProviderGetContainerAsync - метод
Пространство имён: Tessa.Web.ServicesСборка: Tessa.Web (в Tessa.Web.dll) Версия: 3.6.0.22
public ValueTask<IUnityContainer> GetContainerAsync(
string instanceName,
bool multipleInstances = false,
string serverRootPath = null,
CancellationToken cancellationToken = default
)
Public Function GetContainerAsync (
instanceName As String,
Optional multipleInstances As Boolean = false,
Optional serverRootPath As String = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of IUnityContainer)
public:
virtual ValueTask<IUnityContainer^> GetContainerAsync(
String^ instanceName,
bool multipleInstances = false,
String^ serverRootPath = nullptr,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract GetContainerAsync :
instanceName : string *
?multipleInstances : bool *
?serverRootPath : string *
?cancellationToken : CancellationToken
(* Defaults:
let _multipleInstances = defaultArg multipleInstances false
let _serverRootPath = defaultArg serverRootPath null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<IUnityContainer>
override GetContainerAsync :
instanceName : string *
?multipleInstances : bool *
?serverRootPath : string *
?cancellationToken : CancellationToken
(* Defaults:
let _multipleInstances = defaultArg multipleInstances false
let _serverRootPath = defaultArg serverRootPath null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<IUnityContainer>
- instanceName String
-
- multipleInstances Boolean (Optional)
-
- serverRootPath String (Optional)
-
- cancellationToken CancellationToken (Optional)
-
ValueTaskIUnityContainerIContainerProviderGetContainerAsync(String, Boolean, String, CancellationToken)