Exemplo n.º 1
0
Arquivo: SR.cs Projeto: 00mjk/xenadmin
 /// <summary>
 /// A friendly (internationalized) name for the SR type.
 /// </summary>
 public static string GetFriendlyTypeName(SRTypes srType)
 {
     return(FriendlyNameManager.GetFriendlyName(string.Format("Label-SR.SRTypes-{0}", srType.ToString())));
 }
Exemplo n.º 2
0
 /// <summary>
 /// A friendly (internationalized) name for the SR type.
 /// </summary>
 public static string getFriendlyTypeName(SRTypes srType)
 {
     return(PropertyManager.GetFriendlyName(string.Format("Label-SR.SRTypes-{0}", srType.ToString()),
                                            "Label-SR.SRTypes-unknown"));
 }