System.Xml.Serialization.XmlTypeSerializationSource.XmlTypeSerializationSource C# (CSharp) Method

XmlTypeSerializationSource() public method

public XmlTypeSerializationSource ( Type type, XmlRootAttribute root, XmlAttributeOverrides attributeOverrides, string namspace, Type includedTypes ) : System.Collections
type Type
root XmlRootAttribute
attributeOverrides XmlAttributeOverrides
namspace string
includedTypes Type
return System.Collections
		public XmlTypeSerializationSource (Type type, XmlRootAttribute root, XmlAttributeOverrides attributeOverrides, string namspace, Type[] includedTypes)
		: base (namspace, includedTypes)
		{
			if (attributeOverrides != null) {
				StringBuilder sb = new StringBuilder ();
				attributeOverrides.AddKeyHash (sb);
				attributeOverridesHash = sb.ToString ();
			}
			
			if (root != null) {
				StringBuilder sb = new StringBuilder ();
				root.AddKeyHash (sb);
				rootHash = sb.ToString ();
			}
				
			this.type = type;
		}