GetXmlSerializerAssemblyName() 공개 정적인 메소드

public static GetXmlSerializerAssemblyName ( Type type ) : string
type System.Type
리턴 string
예제 #1
0
 /// <summary>Returns the name of the assembly that contains the serializer for the specified type in the specified namespace.</summary>
 /// <returns>The name of the assembly that contains specially built serializers.</returns>
 /// <param name="type">The <see cref="T:System.Type" /> you are interested in.</param>
 /// <param name="defaultNamespace">The namespace of the type.</param>
 public static string GetXmlSerializerAssemblyName(Type type, string defaultNamespace)
 {
     return(XmlSerializer.GetXmlSerializerAssemblyName(type) + "." + defaultNamespace.GetHashCode());
 }