/// <summary>
        /// Конструктор.
        /// </summary>
        /// <param name="config">Конфигурация.</param>
        /// <param name="externals">Внешнее.</param>
        public ModIdentityServerWebMvcContext(ModIdentityServerWebMvcConfig config, ModIdentityServerWebMvcExternals externals)
        {
            Config = config;

            PartAccount = new ModIdentityServerWebMvcPartAccountContext(
                Config.Settings.PartAccount,
                externals.PartAccount
                );

            PartExternal = new ModIdentityServerWebMvcPartExternalContext(
                Config.Settings.PartAccount,
                externals.PartExternal
                );
        }
 /// <summary>
 /// Инициализировать контекст.
 /// </summary>
 /// <param name="externals">Внешнее.</param>
 public void InitContext(ModIdentityServerWebMvcExternals externals)
 {
     Context = new ModIdentityServerWebMvcContext(Config, externals);
 }