Class AuthenticationTypeDomainMapping
Default IAuthenticationTypeDomainMapping implementation.
Implements
Inherited Members
Namespace: Tableau.Migration.Engine.Hooks.Mappings.Default
Assembly: Tableau.Migration.dll
Syntax
public class AuthenticationTypeDomainMapping : AuthenticationTypeDomainMappingBase, IAuthenticationTypeDomainMapping, IContentMapping<IUser>, IMigrationHook<ContentMappingContext<IUser>>, IContentMapping<IGroup>, IMigrationHook<ContentMappingContext<IGroup>>
Constructors
AuthenticationTypeDomainMapping(IMigrationPlanOptionsProvider<AuthenticationTypeDomainMappingOptions>)
Creates a new AuthenticationTypeDomainMapping object.
Declaration
public AuthenticationTypeDomainMapping(IMigrationPlanOptionsProvider<AuthenticationTypeDomainMappingOptions> optionsProvider)
Parameters
Type | Name | Description |
---|---|---|
IMigrationPlanOptionsProvider<AuthenticationTypeDomainMappingOptions> | optionsProvider | The options provider. |
Methods
ExecuteAsync<T>(ContentMappingContext<T>, CancellationToken)
Executes the mapping for a user or group.
Declaration
protected override Task<ContentMappingContext<T>?> ExecuteAsync<T>(ContentMappingContext<T> context, CancellationToken cancel) where T : IUsernameContent
Parameters
Type | Name | Description |
---|---|---|
ContentMappingContext<T> | context | The mapping context. |
CancellationToken | cancel | The cancellation token to obey. |
Returns
Type | Description |
---|---|
Task<ContentMappingContext<T>> | The mapped context. |
Type Parameters
Name | Description |
---|---|
T | The IUsernameContent type. |