コード例 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="認証サービス"/> class.
        /// </summary>
        /// <param name="userRepository">
        /// An instance of <see cref="IユーザーRepository"/> to use internally.
        /// </param>
        /// <param name="groupRepository">
        /// An instance of <see cref="IグループRepository"/> to use internally.
        /// </param>
        /// <param name="roleRepository">
        /// An instance of <see cref="IロールRepository"/> to use internally.
        /// </param>
        public 認証サービス(
			IユーザーRepository userRepository,
			IグループRepository groupRepository,
			IロールRepository roleRepository)
        {
            this.groupRepository = groupRepository;
            this.roleRepository = roleRepository;
            this.userRepository = userRepository;
        }
        public アクセスアプリケーションサービス(
			IグループRepository groupRepository,
			IロールRepository roleRepository,
			IテナントRepository tenantRepository,
			IユーザーRepository userRepository)
        {
            this.groupRepository = groupRepository;
            this.roleRepository = roleRepository;
            this.tenantRepository = tenantRepository;
            this.userRepository = userRepository;
        }