当前位置: 首页>>代码示例>>C#>>正文


C# IUserProfileRepository类代码示例

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


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

示例1: WeixinController

 public WeixinController(
     IUserProfileRepository userProfileRepository,
     IQrCodeRepository qrCodeRepository)
 {
     _userProfileRepository = userProfileRepository;
     _qrCodeRepository = qrCodeRepository;
 }
开发者ID:the404,项目名称:xyz,代码行数:7,代码来源:WeixinController.cs

示例2: InstitutionsController

        public InstitutionsController(IInstitutionRepository institutionRepository, IBaseScoreCardRepository baseScoreCardRepository, IValuationScoreCardRepository valuationScoreCardRepository, IUserProfileRepository userProfileRepository, IAuthentication authentication)
            : base(baseScoreCardRepository, valuationScoreCardRepository, userProfileRepository, authentication)
        {
            Requires.NotNull(institutionRepository, nameof(institutionRepository));

            this.institutionRepository = institutionRepository;
        }
开发者ID:spapaseit,项目名称:qoam,代码行数:7,代码来源:InstitutionsController.cs

示例3: UserValidateFake

 public UserValidateFake(IUserProfileRepository userProfileRepository, IUserExtendRepository userExtendRepository,
                         IWebpagesMembershipRepository webpagesMembershipRepository)
 {
     this._userExtendRepository = userExtendRepository;
     this._userProfileRepository = userProfileRepository;
     this._webpagesMembershipRepository = webpagesMembershipRepository;
 }
开发者ID:CSharpDev,项目名称:Dev.All,代码行数:7,代码来源:UserValidateFake.cs

示例4: DataManager

 public DataManager(
     ICityRepository cityRepository,
     ICountryRepository countryRepository,
     IFriendRequestRepository friendRequestRepository,
     IGroupNewseRepository groupNewseRepository,
     IGroupProfileRepository groupProfileRepository,
     IGroupRepository groupRepository,
     IGroupRequestRepository groupRequestRepository,
     IGroupTypeRepository groupTypeRepository,
     IMemberRoleRepository memberRoleRepository,
     IMessageRepository messageRepository,
     IRegionRepository regionRepository,
     IApplicationUserRepository userRepository,
     IUserProfileRepository userProfileRepository,
     IWallOfUserRepository wallOfUserRepository
     )
 {
     this.cityRepository = cityRepository;
     this.countryRepository = countryRepository;
     this.friendRequestRepository = friendRequestRepository;
     this.groupNewseRepository = groupNewseRepository;
     this.groupProfileRepository = groupProfileRepository;
     this.groupRepository = groupRepository;
     this.groupRequestRepository = groupRequestRepository;
     this.groupTypeRepository = groupTypeRepository;
     this.memberRoleRepository = memberRoleRepository;
     this.messagesRepository = messageRepository;
     this.regionRepository = regionRepository;
     this.userRepository = userRepository;
     this.userProfileRepository = userProfileRepository;
     this.wallOfUserRepository = wallOfUserRepository;
 }
开发者ID:Rammun,项目名称:UrokiOn,代码行数:32,代码来源:DataManager.cs

示例5: HugRepository

 public HugRepository(string connectionString, string databaseName, IUserProfileRepository userProfileRepository)
 {
     _userProfileRepository = userProfileRepository;
     _server = MongoServer.Create(connectionString);
     _database = _server.GetDatabase(databaseName);
     _mongoCollection = _database.GetCollection<PenedatingMongoUser>("users");
 }
开发者ID:stawiu,项目名称:penedating,代码行数:7,代码来源:HugRepository.cs

示例6: UserProfileBusinessLogic

 public UserProfileBusinessLogic(IUserProfileRepository userProfileRepository, IGenderTypeBusinessLogic genderTypeBusinessLogic, IActivityLevelTypeBusinessLogic activityLevelTypeBusinessLogic, ICalorieCalculator calorieCalculator)
 {
     CalorieCalculator = calorieCalculator;
     GenderTypeBusinessLogic = genderTypeBusinessLogic;
     UserProfileRepository = userProfileRepository;
     ActivityLevelTypeBusinessLogic = activityLevelTypeBusinessLogic;
 }
开发者ID:yodiz,项目名称:CarbonFitness,代码行数:7,代码来源:UserProfileBusinessLogic.cs

示例7: AdminController

        public AdminController(JournalsImport journalsImport, UlrichsImport ulrichsImport, DoajImport doajImport, JournalTocsImport journalsTocImport, JournalsExport journalsExport, IJournalRepository journalRepository, IUserProfileRepository userProfileRepository, IAuthentication authentication, IInstitutionRepository institutionRepository, IBlockedISSNRepository blockedIssnRepository, IBaseScoreCardRepository baseScoreCardRepository, IValuationScoreCardRepository valuationScoreCardRepository, IBulkImporter<SubmissionPageLink> bulkImporter, IBulkImporter<Institution> institutionImporter)
            : base(baseScoreCardRepository, valuationScoreCardRepository, userProfileRepository, authentication)
        {
            Requires.NotNull(journalsImport, nameof(journalsImport));
            Requires.NotNull(ulrichsImport, nameof(ulrichsImport));
            Requires.NotNull(journalsTocImport, nameof(journalsTocImport));
            Requires.NotNull(doajImport, nameof(doajImport));
            Requires.NotNull(journalsExport, nameof(journalsExport));
            Requires.NotNull(journalRepository, nameof(journalRepository));
            Requires.NotNull(institutionRepository, nameof(institutionRepository));
            Requires.NotNull(blockedIssnRepository, nameof(blockedIssnRepository));
            Requires.NotNull(bulkImporter, nameof(bulkImporter));
            Requires.NotNull(institutionImporter, nameof(institutionImporter));

            this.journalsImport = journalsImport;
            this.ulrichsImport = ulrichsImport;
            this.doajImport = doajImport;
            _journalsTocImport = journalsTocImport;
            this.journalsExport = journalsExport;
            this.journalRepository = journalRepository;
            this.institutionRepository = institutionRepository;
            this.blockedIssnRepository = blockedIssnRepository;

            _bulkImporter = bulkImporter;
            _institutionImporter = institutionImporter;
        }
开发者ID:spapaseit,项目名称:qoam,代码行数:26,代码来源:AdminController.cs

示例8: GuessController

 public GuessController(IGuessRepository GuessRepository, IGuessUserRepository GuessUserRepository, IResponseImageTextRepository ResponseImageTextRepository, IUserProfileRepository UserProfileRepository)
 {
     this.ResponseImageTextRepository = ResponseImageTextRepository;
     this.UserProfileRepository = UserProfileRepository;
     this.GuessUserRepository = GuessUserRepository;
     this.GuessRepository = GuessRepository;
 }
开发者ID:the404,项目名称:xyz,代码行数:7,代码来源:GuessController.cs

示例9: QoamCornersController

 public QoamCornersController(IBaseScoreCardRepository baseScoreCardRepository, IValuationScoreCardRepository valuationScoreCardRepository, IUserProfileRepository userProfileRepository, IAuthentication authentication, IJournalRepository journalRepository, ICornerRepository cornerRepository, IBulkImporter<CornerToImport> bulkImporter)
     : base(baseScoreCardRepository, valuationScoreCardRepository, userProfileRepository, authentication)
 {
     _journalRepository = journalRepository;
     _cornerRepository = cornerRepository;
     _bulkImporter = bulkImporter;
 }
开发者ID:spapaseit,项目名称:qoam,代码行数:7,代码来源:QoamCornersController.cs

示例10: FacebookController

 public FacebookController(IUserProfileRepository userProfileRepository, IAccountMailer accountMailer)
 {
     this.userProfileRepository = userProfileRepository;
     this.accountMailer = accountMailer;
     Mapper.CreateMap<FacebookRegisterModel, UserProfile>();
     Mapper.CreateMap<FacebookRegisterModel, RegisterModel>();
 }
开发者ID:JordanRift,项目名称:Grassroots,代码行数:7,代码来源:FacebookController.cs

示例11: PeopleController

 public PeopleController()
 {
     this._IPlaceRepository = new PlaceRepository(new WorkersInMotionDB());
     this._IUserProfileRepository = new UserProfileRepository(new WorkersInMotionDB());
     this._IPeopleRepository = new PeopleRepository(new WorkersInMotionDB());
     this._IMarketRepository = new MarketRepository(new WorkersInMotionDB());
 }
开发者ID:sfielder,项目名称:heroku-net-example,代码行数:7,代码来源:PeopleController.cs

示例12: LessonController

 /// <summary>
 /// Initialize lesson controller
 /// </summary>
 /// <param name="classCalendarRepo">Class calendar repository</param>
 /// <param name="userprofileRepo">UserProfile repository</param>
 /// <param name="classRoomRepo">Class room repository</param>
 /// <param name="likeLessonRepo">Like lesson repository</param>
 /// <param name="lessonCatalogRepo">Lesson catalog repository</param>
 /// <param name="commentRepo">Comment repository</param>
 /// <param name="friendRequestRepo">Friend request repository</param>
 /// <param name="userActivityRepo">User activity repository</param>
 /// <param name="notificationCtrl">Notificaotion API</param>
 /// <param name="config">App configuration option</param>
 public LessonController(IClassCalendarRepository classCalendarRepo,
     IUserProfileRepository userprofileRepo,
     IClassRoomRepository classRoomRepo,
     ILikeLessonRepository likeLessonRepo,
     ILessonCatalogRepository lessonCatalogRepo,
     ICommentRepository commentRepo,
     IFriendRequestRepository friendRequestRepo,
     IUserActivityRepository userActivityRepo,
     NotificationController notificationCtrl,
     IOptions<AppConfigOptions> options,
     ILessonTestResultRepository lessonTestResultRepo,
     IDateTime dateTime)
 {
     _classCalendarRepo = classCalendarRepo;
     _userprofileRepo = userprofileRepo;
     _classRoomRepo = classRoomRepo;
     _likeLessonRepo = likeLessonRepo;
     _lessonCatalogRepo = lessonCatalogRepo;
     _commentRepo = commentRepo;
     _friendRequestRepo = friendRequestRepo;
     _userActivityRepo = userActivityRepo;
     _notificationCtrl = notificationCtrl;
     _appConfig = options.Value;
     _dateTime = dateTime;
     _lessonTestResultRepo = lessonTestResultRepo;
 }
开发者ID:teerachail,项目名称:mindsage2016,代码行数:39,代码来源:LessonController.cs

示例13: PurchaseController

 /// <summary>
 /// Initialize purchase controller
 /// </summary>
 /// <param name="courseCtrl">Course API</param>
 /// <param name="myCourseCtrl">MyCourse API</param>
 /// <param name="userProfileRepo">User profile repository</param>
 /// <param name="classRoomRepo">Class room repository</param>
 /// <param name="classCalendarRepo">Class calendar repository</param>
 /// <param name="lessonCatalogRepo">Lesson catalog repository</param>
 /// <param name="userActivityRepo">User activity repository</param>
 /// <param name="paymentRepo">Payment repository</param>
 public PurchaseController(CourseController courseCtrl,
     MyCourseController myCourseCtrl,
     IUserProfileRepository userProfileRepo,
     IClassRoomRepository classRoomRepo,
     IClassCalendarRepository classCalendarRepo,
     ILessonCatalogRepository lessonCatalogRepo,
     IUserActivityRepository userActivityRepo,
     IPaymentRepository paymentRepo,
     IOptions<AppConfigOptions> appConfig,
     IOptions<ErrorMessageOptions> errorMsgs,
     ILoggerFactory loggerFactory,
     IPayment payment,
     IDateTime dateTime)
 {
     _courseCtrl = courseCtrl;
     _myCourseCtrl = myCourseCtrl;
     _userprofileRepo = userProfileRepo;
     _classRoomRepo = classRoomRepo;
     _classCalendarRepo = classCalendarRepo;
     _lessonCatalogRepo = lessonCatalogRepo;
     _userActivityRepo = userActivityRepo;
     _paymentRepo = paymentRepo;
     _dateTime = dateTime;
     _appConfig = appConfig.Value;
     _errorMsgs = errorMsgs.Value;
     _logger = loggerFactory.CreateLogger<PurchaseController>();
     _payment = payment;
 }
开发者ID:teerachail,项目名称:mindsage2016,代码行数:39,代码来源:PurchaseController.cs

示例14: SpeakerController

        public SpeakerController(IConferenceLoader conferenceLoader, ISessionLoaderFactory sessionLoaderFactory, IUserProfileRepository userProfileRepository, IUserProfileFilterFactory userProfileFilterFactory)
        {
            if (conferenceLoader == null)
            {
                throw new ArgumentNullException("conferenceLoader");
            }

            if (sessionLoaderFactory == null)
            {
                throw new ArgumentNullException("sessionLoaderFactory");
            }

            if (userProfileRepository == null)
            {
                throw new ArgumentNullException("userProfileRepository");
            }

            if (userProfileFilterFactory == null)
            {
                throw new ArgumentNullException("userProfileFilterFactory");
            }

            this.conferenceLoader = conferenceLoader;
            this.sessionLoaderFactory = sessionLoaderFactory;
            this.userProfileRepository = userProfileRepository;
            this.userProfileFilterFactory = userProfileFilterFactory;
        }
开发者ID:philpursglove,项目名称:DDDEastAnglia,代码行数:27,代码来源:SpeakerController.cs

示例15: ScoreController

        public ScoreController(IBaseScoreCardRepository baseScoreCardRepository, IBaseJournalPriceRepository baseJournalPriceRepository, IValuationScoreCardRepository valuationScoreCardRepository, IValuationJournalPriceRepository valuationJournalPriceRepository, IScoreCardVersionRepository scoreCardVersionRepository, IJournalRepository journalRepository, ILanguageRepository languageRepository, ISubjectRepository subjectRepository, IQuestionRepository questionRepository, GeneralSettings generalSettings, IUserProfileRepository userProfileRepository, IInstitutionRepository institutionRepository, IAuthentication authentication)
            : base(userProfileRepository, authentication)
        {
            Requires.NotNull(baseScoreCardRepository, "baseScoreCardRepository");
            Requires.NotNull(baseJournalPriceRepository, "baseJournalPriceRepository");
            Requires.NotNull(valuationScoreCardRepository, "valuationScoreCardRepository");
            Requires.NotNull(valuationJournalPriceRepository, "valuationJournalPriceRepository");
            Requires.NotNull(scoreCardVersionRepository, "scoreCardVersionRepository");
            Requires.NotNull(journalRepository, "journalRepository");
            Requires.NotNull(languageRepository, "languageRepository");
            Requires.NotNull(subjectRepository, "keywordRepository");
            Requires.NotNull(questionRepository, "questionRepository");
            Requires.NotNull(institutionRepository, "institutionRepository");
            Requires.NotNull(generalSettings, "generalSettings");

            this.baseScoreCardRepository = baseScoreCardRepository;
            this.scoreCardVersionRepository = scoreCardVersionRepository;
            this.valuationJournalPriceRepository = valuationJournalPriceRepository;
            this.valuationScoreCardRepository = valuationScoreCardRepository;
            this.journalRepository = journalRepository;
            this.languageRepository = languageRepository;
            this.subjectRepository = subjectRepository;
            this.questionRepository = questionRepository;
            this.baseJournalPriceRepository = baseJournalPriceRepository;
            this.institutionRepository = institutionRepository;
            this.generalSettings = generalSettings;
        }
开发者ID:marijngiesen,项目名称:qoam,代码行数:27,代码来源:ScoreController.cs


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