2 // System.Web.UI.TagPrefixAttribute.cs
4 // Duncan Mak (duncan@ximian.com)
11 namespace System.Web.UI {
13 [AttributeUsage (AttributeTargets.Assembly)]
14 public sealed class TagPrefixAttribute : Attribute
19 public TagPrefixAttribute (string namespaceName,
22 if (namespaceName == null || tagPrefix == null)
23 throw new ArgumentNullException ();
25 this.namespaceName = namespaceName;
26 this.tagPrefix = tagPrefix;
29 public string NamespaceName {
30 get { return namespaceName; }
33 public string TagPrefix {
34 get { return tagPrefix; }