XmlFormatExtensionPointAttribute.cs 905 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. //
  2. // System.Web.Services.Configuration.XmlFormatExtensionPointAttribute.cs
  3. //
  4. // Author:
  5. // Tim Coleman ([email protected])
  6. //
  7. // Copyright (C) Tim Coleman, 2002
  8. //
  9. namespace System.Web.Services.Configuration {
  10. [AttributeUsage (AttributeTargets.Class)]
  11. public sealed class XmlFormatExtensionPointAttribute : Attribute {
  12. #region Fields
  13. bool allowElements;
  14. string memberName;
  15. #endregion // Fields
  16. #region Constructors
  17. public XmlFormatExtensionPointAttribute (string memberName)
  18. {
  19. this.memberName = memberName;
  20. allowElements = false; // FIXME
  21. }
  22. #endregion // Constructors
  23. #region Properties
  24. public bool AllowElements {
  25. get { return allowElements; }
  26. set { allowElements = value; }
  27. }
  28. public string MemberName {
  29. get { return memberName; }
  30. set { memberName = value; }
  31. }
  32. #endregion // Properties
  33. }
  34. }