public ProfileController(
     IProfileAppService profileAppService, 
     ITimingAppService timingAppService)
 {
     _profileAppService = profileAppService;
     _timingAppService = timingAppService;
 }
Пример #2
0
 public RankingController(IGamificationAppService gamificationAppService, IProfileAppService profileAppService)
 {
     this.gamificationAppService = gamificationAppService;
     this.profileAppService      = profileAppService;
 }
Пример #3
0
 public ClientDemoService(IProfileAppService profileAppService, IAndonService andonService)
 {
     _profileAppService = profileAppService;
     _andonService      = andonService;
 }
Пример #4
0
 public ChangePasswordViewModel(IProfileAppService profileAppService)
 {
     _profileAppService = profileAppService;
 }
Пример #5
0
 public ProfileController(IProfileAppService profileAppService)
 {
     _profileAppService = profileAppService;
 }
Пример #6
0
 public ProfileAppService_Tests()
 {
     _profileAppService = Resolve <IProfileAppService>();
 }
Пример #7
0
 public ProfileService(IProfileAppService appService)
 {
     _appService = appService;
 }
Пример #8
0
 public UserController(IProfileAppService profileAppService
                       , INotificationAppService notificationAppService) : base()
 {
     this.profileAppService      = profileAppService;
     this.notificationAppService = notificationAppService;
 }
Пример #9
0
 public ProfileController(IProfileAppService profileAppService, IGamificationAppService gamificationAppService) : base()
 {
     this.profileAppService      = profileAppService;
     this.gamificationAppService = gamificationAppService;
 }
Пример #10
0
 public UserController(IUserAppService userAppService, IProfileAppService profileAppService)
 {
     _userAppService    = userAppService;
     _profileAppService = profileAppService;
 }
Пример #11
0
 public IncidentService(IIncidentsAppService incidentsAppService, IDbService <LocalIncident> dbService, IProfileAppService profileAppService,
                        ProxyPictureControllerService pictureControllerService)
 {
     _incidentsAppService      = incidentsAppService;
     DbService                 = dbService;
     this.profileAppService    = profileAppService;
     _pictureControllerService = pictureControllerService;
 }
Пример #12
0
 public PersonalSettingsModal(IProfileAppService profileAppService)
 {
     _profileAppService = profileAppService;
 }
Пример #13
0
 public AccountProfilePersonalInfoManagementGroupViewComponent(IProfileAppService profileAppService) : base(profileAppService)
 {
 }
Пример #14
0
        public async Task Invoke(HttpContext context, IGameAppService gameAppService, IProfileAppService profileAppService, IUserContentAppService contentAppService)
        {
            StringBuilder sb = new StringBuilder();

            GameAppService    = gameAppService;
            ProfileAppService = profileAppService;
            ContentAppService = contentAppService;

            if (context.Request.Path.Value.Equals("/sitemap.xml", StringComparison.OrdinalIgnoreCase))
            {
                Stream stream = context.Response.Body;
                context.Response.StatusCode  = 200;
                context.Response.ContentType = "application/xml";
                sb.Append("<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">");

                Assembly assembly = Assembly.GetExecutingAssembly();

                List <Type> controllers = assembly.GetTypes()
                                          .Where(type => typeof(Controller).IsAssignableFrom(type) ||
                                                 type.Name.EndsWith("controller")).ToList();

                foreach (Type controller in controllers)
                {
                    sb.AppendLine(CheckController(controller));
                }

                sb.AppendLine("</urlset>");
                using (MemoryStream memoryStream = new MemoryStream())
                {
                    byte[] bytes = Encoding.UTF8.GetBytes(sb.ToString());
                    memoryStream.Write(bytes, 0, bytes.Length);
                    memoryStream.Seek(0, SeekOrigin.Begin);
                    await memoryStream.CopyToAsync(stream, bytes.Length);
                }
            }
            else
            {
                await _next(context);
            }
        }
Пример #15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProfileService"/> class.
 /// </summary>
 /// <param name="appService">The application service.</param>
 public ProfileService(IProfileAppService appService, ICurrentUser currentUser)
 {
     _appService    = appService;
     _currentUser   = currentUser;
     _cacheProvider = CacheContainer.GetService <ICacheProvider>("userCache.Redis");
 }
Пример #16
0
 public ProfileAppService_Tests()
 {
     _profileAppService = GetRequiredService <IProfileAppService>();
     _testData          = GetRequiredService <IdentityTestData>();
 }
Пример #17
0
 public ManageModel(IProfileAppService profileAppService)
 {
     _profileAppService = profileAppService;
 }
 public ProfileAppService_Tests()
 {
     _profileAppService = Resolve<IProfileAppService>();
 }
Пример #19
0
 public ProfileController(IProfileAppService profileAppService, IPermissionAppService permissionAppService)
 {
     _profileAppService    = profileAppService;
     _permissionAppService = permissionAppService;
 }
Пример #20
0
 public DeleteUserFromPlatformRequestHandler(IProfileAppService profileAppService, IUserContentAppService userContentAppService)
 {
     this.profileAppService     = profileAppService;
     this.userContentAppService = userContentAppService;
 }
Пример #21
0
 public ProfileController(IProfileAppService service)
 {
     _service = service;
 }
Пример #22
0
 public ProfileController(
     ITempFileCacheManager tempFileCacheManager,
     IProfileAppService profileAppService) :
     base(tempFileCacheManager, profileAppService)
 {
 }
Пример #23
0
 public ManageModel(IProfileAppService profileAppService)
     : base(profileAppService)
 {
 }
Пример #24
0
 public ClientDemoService(IProfileAppService profileAppService)
 {
     _profileAppService = profileAppService;
 }
 public AccountProfilePasswordManagementGroupViewComponent(
     IProfileAppService profileAppService)
 {
     ProfileAppService = profileAppService;
 }
Пример #26
0
 public ProfileController(IProfileAppService profileAppService)
 {
     _profileAppService = profileAppService;
 }
Пример #27
0
 public ApplicationSignInManager(ApplicationUserManager userManager, IAuthenticationManager authenticationManager, IProfileAppService profileAppService)
     : base(userManager, authenticationManager)
 {
     _profileAppService = profileAppService;
 }