/// <summary> /// Конструктор. /// </summary> /// <param name="configSettings">Конфигурационные настройки.</param> /// <param name="externals">Внешнее.</param> public ModIdentityServerWebMvcPartExternalContext( IModIdentityServerWebMvcPartAccountConfigSettings configSettings, ModIdentityServerWebMvcPartExternalExternals externals ) { Service = new ModIdentityServerWebMvcPartExternalService( configSettings ); Jobs = new ModIdentityServerWebMvcPartExternalJobs( externals.CoreBaseResourceErrors, externals.ResourceErrors, Service ); }
/// <summary> /// Конструктор. /// </summary> /// <param name="coreBaseResourceErrors">Ядро. Основа. Ресурсы. Ошибки.</param> /// <param name="resourceErrors">Ресурсы. Ошибки.</param> /// <param name="service">Сервис.</param> public ModIdentityServerWebMvcPartExternalJobs( CoreBaseResourceErrors coreBaseResourceErrors, ModIdentityServerBaseResourceErrors resourceErrors, ModIdentityServerWebMvcPartExternalService service ) { JobCallbackGet = new ModIdentityServerWebMvcPartExternalJobCallbackGetService( service.GetCallback, coreBaseResourceErrors, resourceErrors ); JobChallengeGet = new ModIdentityServerWebMvcPartExternalJobChallengeGetService( service.GetChallenge, coreBaseResourceErrors, resourceErrors ); }