Beispiel #1
0
 /// <summary>
 /// Creates holder from array
 /// </summary>
 /// <param name="languages">Array of languages</param>
 /// <param name="managers">Managers</param>
 /// <returns>The holder</returns>
 public static IResourceHolder Create(string[] languages, ResourceManager[] managers)
 {
     return(Create(ResourceManagerLocalizator.Create(languages, managers)));
 }
Beispiel #2
0
 /// <summary>
 /// Creates holder from dictionary
 /// </summary>
 /// <param name="dictionary">The dictionary</param>
 /// <returns>The holder</returns>
 public static IResourceHolder Create(Dictionary <string, ResourceManager> dictionary)
 {
     return(Create(ResourceManagerLocalizator.Create(dictionary)));
 }