private IsSupportedCulture ( CultureInfo culture ) : bool | ||
culture | CultureInfo | |
return | bool |
public static bool IsSupportedCulture(string code, out bool isParentSupported) { isParentSupported = false; if (code == "Invariant") { return(false); } try { return(ResourceManager.IsSupportedCulture(new CultureInfo(code), out isParentSupported)); } catch (ArgumentException) { return(false); } }
public static bool IsSupportedCulture(string code) { bool parent; return(ResourceManager.IsSupportedCulture(code, out parent)); }
public static bool IsSupportedCulture(CultureInfo culture) { bool parent; return(ResourceManager.IsSupportedCulture(culture, out parent)); }