Skip to content

HostCreatedJointExtensions Methods

ClassMethods1 member
Extension methods for applying HostCreated parts.
ApplyHostCreated(THost, IDovetailContext, CancellationToken)Section titled ApplyHostCreated(THost, IDovetailContext, CancellationToken)extensionValueTask
Applies the registered HostCreated parts.
public static class HostCreatedJointExtensions
{
public static ValueTask ApplyHostCreated<THost>(
this THost host,
IDovetailContext context,
CancellationToken cancellationToken = default(CancellationToken))
{
// ...
}
}
hostTHost
cancellationTokenCancellationTokenoptional
ArgumentNullExceptioncontext is null.