コード例 #1
0
ファイル: AppRoleStore.cs プロジェクト: aidanmatheney/archia
#pragma warning disable CS8613 // Nullability of reference types in return type doesn't match implicitly implemented member.
        public async Task <AppRole?> FindByNameAsync(string normalizedName, CancellationToken cancellationToken = default)
#pragma warning restore CS8613 // Nullability of reference types in return type doesn't match implicitly implemented member.
        {
            ThrowIf.Null(normalizedName, nameof(normalizedName));
            return(await _roleService.FindRoleByNameAsync(normalizedName, cancellationToken).ConfigureAwait(false));
        }