Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / TagPrefixAttribute.cs / 1 / TagPrefixAttribute.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI {
using System;
using System.ComponentModel;
using System.Security.Permissions;
using System.Web.Util;
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple=true)]
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public sealed class TagPrefixAttribute : Attribute {
private string namespaceName;
private string tagPrefix;
public TagPrefixAttribute(string namespaceName, string tagPrefix) {
if (String.IsNullOrEmpty(namespaceName)) {
throw ExceptionUtil.ParameterNullOrEmpty("namespaceName");
}
if (String.IsNullOrEmpty(tagPrefix)) {
throw ExceptionUtil.ParameterNullOrEmpty("tagPrefix");
}
this.namespaceName = namespaceName;
this.tagPrefix = tagPrefix;
}
public string NamespaceName {
get {
return namespaceName;
}
}
public string TagPrefix {
get {
return tagPrefix;
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ItemCheckEvent.cs
- VirtualPath.cs
- RuleRefElement.cs
- TemplateBindingExpressionConverter.cs
- BindingList.cs
- CodeCastExpression.cs
- ValidationPropertyAttribute.cs
- Win32Exception.cs
- FreezableOperations.cs
- CatalogZoneBase.cs
- RemoteWebConfigurationHostServer.cs
- InvalidComObjectException.cs
- ExpressionLexer.cs
- SamlSecurityToken.cs
- Gdiplus.cs
- CodeIterationStatement.cs
- TextBoxDesigner.cs
- Tablet.cs
- MdiWindowListStrip.cs
- HttpFileCollection.cs
- DurableInstanceContextProvider.cs
- Accessible.cs
- DataListCommandEventArgs.cs
- ParseChildrenAsPropertiesAttribute.cs
- FacetChecker.cs
- DESCryptoServiceProvider.cs
- Image.cs
- TreeWalker.cs
- ColumnPropertiesGroup.cs
- ToolStripPanel.cs
- StylusPointPropertyInfo.cs
- FontStretches.cs
- MouseGestureConverter.cs
- HandleRef.cs
- Context.cs
- ProbeDuplexAsyncResult.cs
- ControlValuePropertyAttribute.cs
- AtomMaterializerLog.cs
- XmlSignificantWhitespace.cs
- ListControlBuilder.cs
- Vector3DValueSerializer.cs
- ChtmlSelectionListAdapter.cs
- FillRuleValidation.cs
- InvalidFilterCriteriaException.cs
- HtmlControl.cs
- DataServiceConfiguration.cs
- DataGridViewRowsRemovedEventArgs.cs
- Expressions.cs
- EmptyReadOnlyDictionaryInternal.cs
- DecimalAnimationBase.cs
- DecoderBestFitFallback.cs
- TemplateControl.cs
- ValidationHelpers.cs
- ChannelPoolSettings.cs
- JpegBitmapDecoder.cs
- CssStyleCollection.cs
- GetRecipientListRequest.cs
- XmlTypeMapping.cs
- Exceptions.cs
- SimpleFileLog.cs
- GenericEnumConverter.cs
- XPathParser.cs
- SocketPermission.cs
- SynchronousChannel.cs
- BooleanFunctions.cs
- SoapEnumAttribute.cs
- StringDictionary.cs
- SqlDataSourceSelectingEventArgs.cs
- Profiler.cs
- ToolboxItemWrapper.cs
- ApplicationActivator.cs
- LogStore.cs
- SingleKeyFrameCollection.cs
- CallbackDebugElement.cs
- MailBnfHelper.cs
- PlanCompiler.cs
- IdentityModelStringsVersion1.cs
- UnsafeNativeMethodsMilCoreApi.cs
- Exceptions.cs
- AudioFormatConverter.cs
- StoreItemCollection.Loader.cs
- DataSet.cs
- X500Name.cs
- XmlAttributeCollection.cs
- DropShadowBitmapEffect.cs
- WpfXamlType.cs
- Int32.cs
- SiteMapPath.cs
- DebugView.cs
- LinkedResource.cs
- ActivityExecutor.cs
- XmlSchemaParticle.cs
- TransformPatternIdentifiers.cs
- Clipboard.cs
- StylusButtonCollection.cs
- DecimalConverter.cs
- SqlAliasesReferenced.cs
- SoapException.cs
- StructuralType.cs
- SingleAnimationBase.cs