XmlSchemaObject.cs 978 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // Author: Dwivedi, Ajay kumar
  2. // [email protected]
  3. using System;
  4. using System.Xml.Serialization;
  5. namespace System.Xml.Schema
  6. {
  7. /// <summary>
  8. /// Summary description for XmlSchemaObject.
  9. /// </summary>
  10. public abstract class XmlSchemaObject
  11. {
  12. private int lineNumber;
  13. private int linePosition;
  14. private string sourceUri;
  15. private XmlSerializerNamespaces namespaces;
  16. protected XmlSchemaObject()
  17. {
  18. }
  19. [XmlIgnore]
  20. public int LineNumber
  21. {
  22. get{ return lineNumber; }
  23. set{ lineNumber = value; }
  24. }
  25. [XmlIgnore]
  26. public int LinePosition
  27. {
  28. get{ return linePosition; }
  29. set{ linePosition = value; }
  30. }
  31. [XmlIgnore]
  32. public string SourceUri
  33. {
  34. get{ return sourceUri; }
  35. set{ sourceUri = value; }
  36. }
  37. // Undocumented Property
  38. [XmlNamespaceDeclarations]
  39. public XmlSerializerNamespaces Namespaces
  40. {
  41. get{ return namespaces; }
  42. set{ namespaces = value; }
  43. }
  44. }
  45. }