System.Globalization.CompareInfo.CompareInfo.GetCompareInfo C# (CSharp) Method

GetCompareInfo() public static method

public static GetCompareInfo ( int culture, Assembly assembly ) : CompareInfo
culture int
assembly System.Reflection.Assembly
return CompareInfo
		public static CompareInfo GetCompareInfo(int culture,
							 Assembly assembly)
		{
			/* The assembly parameter is supposedly there
			 * to allow some sort of compare algorithm
			 * versioning.
			 */
			if(assembly == null) {
				throw new ArgumentNullException("assembly");
			}
			if(assembly!=typeof (Object).Module.Assembly) {
				throw new ArgumentException ("Assembly is an invalid type");
			}
			return(GetCompareInfo (culture));
		}

Same methods

CompareInfo.CompareInfo::GetCompareInfo ( int culture ) : CompareInfo
CompareInfo.CompareInfo::GetCompareInfo ( string name ) : CompareInfo
CompareInfo.CompareInfo::GetCompareInfo ( string name, Assembly assembly ) : CompareInfo