• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# IUsersRepository类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中IUsersRepository的典型用法代码示例。如果您正苦于以下问题:C# IUsersRepository类的具体用法?C# IUsersRepository怎么用?C# IUsersRepository使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



IUsersRepository类属于命名空间,在下文中一共展示了IUsersRepository类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: GrupyController

 public GrupyController(IGrupyRepository repo, IUsersRepository repo1, IPrzedmiotyRepository repo2, ILogger logger)
 {
     _repo = repo;
     _repo1 = repo1;
     _repo2 = repo2;
     _logger = logger;
 }
开发者ID:boujnah5207,项目名称:dziennik-mvc,代码行数:7,代码来源:GrupyController.cs


示例2: UsersManager

 public UsersManager(IUsersRepository repository, IPasswordHasher hasher)
 {
     if (repository == null) throw new ArgumentNullException("repository");
     if (hasher == null) throw new ArgumentNullException("hasher");
     _repository = repository;
     _hasher = hasher;
 }
开发者ID:reidev275,项目名称:DeliveryTracker,代码行数:7,代码来源:UsersManager.cs


示例3: ProjectsController

 public ProjectsController(
     IUsersRepository usersRepository,
     IRepository<Project> projectsRepository)
 {
     this.usersRepository = usersRepository;
     this.projectsRepository = projectsRepository;
 }
开发者ID:b1ff,项目名称:diploma,代码行数:7,代码来源:ProjectsController.cs


示例4: MyTestInitialize

 public void MyTestInitialize()
 {
     _repositoryStub = MockRepository.GenerateStub<IUsersRepository>();
     _userMapperStub = MockRepository.GenerateStub<IMapper>();
     _sut = new UsersController(_repositoryStub, _userMapperStub);
     InitializeController(_sut);
 }
开发者ID:phithakul,项目名称:samplemvc,代码行数:7,代码来源:UsersControllerTests.cs


示例5: GetUsersAll

        public IList<User> GetUsersAll(UserFilter filterData, IUsersRepository repository)
        {
            ValidateRepositoryInstance(repository);

            var users = repository.GetUsers(filterData, int.MaxValue, 0);
            return users;
        }
开发者ID:jornfilho,项目名称:services-monitoring,代码行数:7,代码来源:Users.cs


示例6: ChangePasswordViewModel

 public ChangePasswordViewModel(IUsersRepository usersRepository)
 {
     this.usersRepository = usersRepository;
     Title = "Смена пароля - ";
     SaveCommand = new DelegateCommand<ChangePasswordArgs>(Save);
     CloseCommand = new DelegateCommand(Close);
 }
开发者ID:hva,项目名称:warehouse.net,代码行数:7,代码来源:ChangePasswordViewModel.cs


示例7: AlbumService

 public AlbumService(IUsersRepository usersRepository, IAlbumRepository albumRepository, IPhotoRepository photoRepository, ITagRepository tagRepository)
 {
     this.mUserRepository = usersRepository;
     this.mAlbumRepository = albumRepository;
     this.mPhotoRepository = photoRepository;
     this.mTagRepository = tagRepository;
 }
开发者ID:janstadt,项目名称:anstadtfamily,代码行数:7,代码来源:AlbumService.cs


示例8: UsersService

 public UsersService(IUsersRepository usersRepository, IHashService hashService, IRolesService rolesService, IConstantsProvider constantsProvider)
 {
     UsersRepository = usersRepository;
     HashService = hashService;
     RolesService = rolesService;
     ConstantsProvider = constantsProvider;
 }
开发者ID:accetone,项目名称:nulloc,代码行数:7,代码来源:UsersService.cs


示例9: LoginController

 public LoginController(IUsersRepository usrRep, IUserConfigurationItemsRepository cfgRep, IGroupsRepository grpRep, IRolesRepository rolRep, ITradersRepository trdRep)
 {
     _usersRepository = usrRep;
     _userConfigurationItemsRepository = cfgRep;
     _groupsRepository = grpRep;
     _rolesRepository = rolRep;
     _tradersRepository = trdRep;
 }
开发者ID:secondcore,项目名称:avitrade-backend,代码行数:8,代码来源:LoginController.cs


示例10: ForumController

 public ForumController(IMessagesRepository messages, IUsersRepository users, 
     ISectionsRepository sections, ITopicsRepository topics)
 {
     this.messages = messages;
     this.users = users;
     this.sections = sections;
     this.topics = topics;
 }
开发者ID:BobsAnton,项目名称:SimpleForum,代码行数:8,代码来源:ForumController.cs


示例11: DataManager

        public DataManager(IUsersRepository usersRepository, PrimaryMembershipProvider provider)
        {

           
            this.usersRepository = usersRepository;
            this.provider = provider;
          
        }
开发者ID:24dima,项目名称:TaskMvc,代码行数:8,代码来源:DataManager.cs


示例12: TranslateController

 public TranslateController(ITranslationHistoryRepository translationHistoryRepository,
                            IUsersRepository usersRepositary,
                            ITranslatorHelper translator)
 {
     this._translationHistoryRepository = translationHistoryRepository;
     this._usersRepositary = usersRepositary;
     this._translator = translator;
 }
开发者ID:trofimchuk-t,项目名称:ASP.NET-MVC-yandex-translator,代码行数:8,代码来源:TranslateController.cs


示例13: DataController

 public DataController(JsonConverter[] converters, ISummarizer repository, ISitesRepository sitesRepository, IErrorController errorController, IUsersRepository userRepository)
     : base(errorController)
 {
     m_Converters = converters;
     m_TimeSeriesRepository = repository;
     m_SiteRepository = sitesRepository;
     m_userRepository = userRepository;
 }
开发者ID:izevaka,项目名称:stacktagz,代码行数:8,代码来源:DataController.cs


示例14: UsersController

        public UsersController(IUsersRepository usersRepository)
        {
            if (usersRepository == null)
            {
                throw new ArgumentNullException("usersRepository");
            }

            this.usersRepository = usersRepository;
        }
开发者ID:JGaudion,项目名称:openidconnect,代码行数:9,代码来源:UsersController.cs


示例15: UsersRunner

 public UsersRunner(
     IModelContext context,
     INpgsqlConnectionFactory connectionFactory,
     IUsersRepository repository)
 {
     _context = context;
     _connectionFactory = connectionFactory;
     _repository = repository;
 }
开发者ID:guozanhua,项目名称:phmi,代码行数:9,代码来源:UsersRunner.cs


示例16: AccountService

 public AccountService(ConnectionsManager connectionsManager, 
     IUsersRepository usersRepository,
     CommandBuilder commandBuilder)
 {
     _commandBuilder = commandBuilder;
     _connectionsManager = connectionsManager;
     _usersRepository = usersRepository;
     _connectionsManager.CommandRecieved += _connectionsManager_OnCommandRecieved;
 }
开发者ID:Bootz,项目名称:VoIP_Project_Archives_Testing,代码行数:9,代码来源:AccountService.cs


示例17: LoginController

 public LoginController(IUsersRepository usrRep, IMembershipsRepository memsRep, IConfigurationItemsRepository cfgRep, IGroupsRepository grpRep, IMerchantsRepository merRep, ISponsorsRepository spnRep)
 {
     _usersRepository = usrRep;
     _membershipsRepository = memsRep;
     _configurationItemsRepository = cfgRep;
     _groupsRepository = grpRep;
     _merchantsRepository = merRep;
     _sponsorsRepository = spnRep;
 }
开发者ID:secondcore,项目名称:yesr-backend,代码行数:9,代码来源:LoginController.cs


示例18: AuthenticationManager

 public AuthenticationManager(IAuthenticationsRepository authentiations, IUsersRepository users, IPasswordHasher hasher, int timeoutMinutes)
 {
     if (authentiations == null) throw new ArgumentNullException("authentiations");
     if (users == null) throw new ArgumentNullException("users");
     if (hasher == null) throw new ArgumentNullException("hasher");
     _authentications = authentiations;
     _users = users;
     _hasher = hasher;
     _timeoutMinutes = timeoutMinutes;
 }
开发者ID:reidev275,项目名称:DeliveryTracker,代码行数:10,代码来源:AuthenticationManager.cs


示例19: TransactionsLogic

        public TransactionsLogic(ICompaniesRepository companiesRepository, /*IRelationshipsRepository relationshipsRepository,*/ IStoresRepository storesRepository, IRelationshipTypesRepository relationshipTypesRepository, ITransactionsRepository transactionsRepository, IUsersRepository usersRepository)
        {
            _companiesRepository = companiesRepository;
            //_relationshipsRepository = relationshipsRepository;//TODO: quitando relations
            _relationshipTypesAccess = relationshipTypesRepository;
            _transactionsRepository = transactionsRepository;
            _usersRepository = usersRepository;

            _storesRepository = storesRepository;
        }
开发者ID:SolucionesAR,项目名称:SolucionesARWebsite,代码行数:10,代码来源:TransactionsLogic.cs


示例20: DistributionPolicyFactory

        public DistributionPolicyFactory(
            IUsersRepository usersRepository, 
            IProjectRelativesRepository projectRelativesRepository)
        {
            Require.NotNull(usersRepository, nameof(usersRepository));
            Require.NotNull(projectRelativesRepository, nameof(projectRelativesRepository));

            _usersRepository = usersRepository;
            _projectRelativesRepository = projectRelativesRepository;
        }
开发者ID:LeagueOfDevelopers,项目名称:LodCore,代码行数:10,代码来源:DistributionPolicyFactory.cs



注:本文中的IUsersRepository类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# IUsersService类代码示例发布时间:2022-05-24
下一篇:
C# IUserSettingService类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap