public XmlTypeSerializationSource(Type type, XmlRootAttribute root, XmlAttributeOverrides attributeOverrides, string namspace, Type[] includedTypes) : base(namspace, includedTypes) { if (attributeOverrides != null) { StringBuilder stringBuilder = new StringBuilder(); attributeOverrides.AddKeyHash(stringBuilder); this.attributeOverridesHash = stringBuilder.ToString(); } if (root != null) { StringBuilder stringBuilder2 = new StringBuilder(); root.AddKeyHash(stringBuilder2); this.rootHash = stringBuilder2.ToString(); } this.type = type; }
public XmlTypeSerializationSource (Type type, XmlRootAttribute root, XmlAttributeOverrides attributeOverrides, string namspace, ArrayList 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; }
public XmlTypeSerializationSource(Type type, XmlRootAttribute root, XmlAttributeOverrides attributeOverrides, string namspace, ArrayList 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; }