TemplateContainerAttribute.cs 468 B

123456789101112131415161718192021222324252627
  1. //
  2. // System.Web.UI.TemplateContainerAttribute.cs
  3. //
  4. // Duncan Mak ([email protected])
  5. //
  6. // (C) Ximian, Inc.
  7. //
  8. using System;
  9. namespace System.Web.UI {
  10. [AttributeUsage (AttributeTargets.Property)]
  11. public sealed class TemplateContainerAttribute : Attribute
  12. {
  13. Type containerType;
  14. public TemplateContainerAttribute (Type containerType)
  15. {
  16. this.containerType = containerType;
  17. }
  18. public Type ContainerType {
  19. get { return containerType; }
  20. }
  21. }
  22. }