本文整理汇总了C#中IUserProfileRepository类的典型用法代码示例。如果您正苦于以下问题:C# IUserProfileRepository类的具体用法?C# IUserProfileRepository怎么用?C# IUserProfileRepository使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IUserProfileRepository类属于命名空间,在下文中一共展示了IUserProfileRepository类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: WeixinController
public WeixinController(
IUserProfileRepository userProfileRepository,
IQrCodeRepository qrCodeRepository)
{
_userProfileRepository = userProfileRepository;
_qrCodeRepository = qrCodeRepository;
}
示例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;
}
示例3: UserValidateFake
public UserValidateFake(IUserProfileRepository userProfileRepository, IUserExtendRepository userExtendRepository,
IWebpagesMembershipRepository webpagesMembershipRepository)
{
this._userExtendRepository = userExtendRepository;
this._userProfileRepository = userProfileRepository;
this._webpagesMembershipRepository = webpagesMembershipRepository;
}
示例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;
}
示例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");
}
示例6: UserProfileBusinessLogic
public UserProfileBusinessLogic(IUserProfileRepository userProfileRepository, IGenderTypeBusinessLogic genderTypeBusinessLogic, IActivityLevelTypeBusinessLogic activityLevelTypeBusinessLogic, ICalorieCalculator calorieCalculator)
{
CalorieCalculator = calorieCalculator;
GenderTypeBusinessLogic = genderTypeBusinessLogic;
UserProfileRepository = userProfileRepository;
ActivityLevelTypeBusinessLogic = activityLevelTypeBusinessLogic;
}
示例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;
}
示例8: GuessController
public GuessController(IGuessRepository GuessRepository, IGuessUserRepository GuessUserRepository, IResponseImageTextRepository ResponseImageTextRepository, IUserProfileRepository UserProfileRepository)
{
this.ResponseImageTextRepository = ResponseImageTextRepository;
this.UserProfileRepository = UserProfileRepository;
this.GuessUserRepository = GuessUserRepository;
this.GuessRepository = GuessRepository;
}
示例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;
}
示例10: FacebookController
public FacebookController(IUserProfileRepository userProfileRepository, IAccountMailer accountMailer)
{
this.userProfileRepository = userProfileRepository;
this.accountMailer = accountMailer;
Mapper.CreateMap<FacebookRegisterModel, UserProfile>();
Mapper.CreateMap<FacebookRegisterModel, RegisterModel>();
}
示例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());
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}