Пример #1
0
 /// <summary>
 /// Ask the provider (if possible...) to create a new culture resource, need to be saved later
 /// </summary>
 /// <param name="info"></param>
 public void CreateCulture(CultureInfo info)
 {
     try
     {
         if (_resProvider != null)
         {
             CultureInfo item = _resProvider.CreateCulture(info);
             if (AvailableCulturesChanged != null)
             {
                 AvailableCulturesChanged(null, new CultureEventArgs()
                 {
                     Culture = item
                 });
             }
         }
     }
     catch (Exception err)
     {
         LogHelper.Manage("CultureManager.CreateCulture", err);
     }
 }