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
- AmbiguousMatchException.cs
- Rotation3D.cs
- XmlILCommand.cs
- DecoderBestFitFallback.cs
- PeerApplicationLaunchInfo.cs
- Vector3DKeyFrameCollection.cs
- SystemNetHelpers.cs
- HtmlToClrEventProxy.cs
- XmlTextEncoder.cs
- CodeLabeledStatement.cs
- XmlEncoding.cs
- DesignerWebPartChrome.cs
- SmtpClient.cs
- wmiprovider.cs
- PassportPrincipal.cs
- Column.cs
- FormatterConverter.cs
- StatusStrip.cs
- WhiteSpaceTrimStringConverter.cs
- EntityDataSourceMemberPath.cs
- XmlDataImplementation.cs
- SessionPageStatePersister.cs
- MappingException.cs
- Repeater.cs
- XmlSchemaAnnotation.cs
- CatalogZoneDesigner.cs
- processwaithandle.cs
- ValueUnavailableException.cs
- CryptoStream.cs
- IPipelineRuntime.cs
- AssociativeAggregationOperator.cs
- DynamicControl.cs
- FamilyTypeface.cs
- ToolStripContentPanel.cs
- WebConfigurationHostFileChange.cs
- TextHintingModeValidation.cs
- StorageComplexPropertyMapping.cs
- BrowserDefinitionCollection.cs
- WhitespaceRuleReader.cs
- _HTTPDateParse.cs
- XmlWriter.cs
- StringUtil.cs
- DoubleLinkListEnumerator.cs
- ColorAnimationBase.cs
- EditingMode.cs
- LineGeometry.cs
- FusionWrap.cs
- HMACSHA384.cs
- StringAnimationBase.cs
- TimeZone.cs
- WebPartZoneBase.cs
- EnvironmentPermission.cs
- SecurityDocument.cs
- SymmetricSecurityBindingElement.cs
- WS2007FederationHttpBindingCollectionElement.cs
- Version.cs
- OdbcEnvironment.cs
- RoleManagerModule.cs
- SmiConnection.cs
- XmlSchemaComplexContent.cs
- AstNode.cs
- unsafenativemethodstextservices.cs
- InstanceNotReadyException.cs
- SearchExpression.cs
- CellRelation.cs
- MenuItemCollection.cs
- NumericUpDownAcceleration.cs
- AsyncPostBackErrorEventArgs.cs
- StatusBarPanel.cs
- ListParagraph.cs
- Pkcs7Signer.cs
- ScriptServiceAttribute.cs
- HttpPostClientProtocol.cs
- XsdBuildProvider.cs
- WebPartDesigner.cs
- Registry.cs
- LineServicesCallbacks.cs
- TagNameToTypeMapper.cs
- XmlnsCache.cs
- AccessKeyManager.cs
- EntityDescriptor.cs
- XmlSchemaComplexContentRestriction.cs
- NamedPipeConnectionPoolSettingsElement.cs
- FontFamily.cs
- SingleAnimationUsingKeyFrames.cs
- PropertyEntry.cs
- Storyboard.cs
- AuthenticationServiceManager.cs
- SmiRequestExecutor.cs
- TraceData.cs
- webproxy.cs
- EventSinkHelperWriter.cs
- StylusButtonEventArgs.cs
- BasicViewGenerator.cs
- AssemblyNameProxy.cs
- GridLength.cs
- RadioButtonPopupAdapter.cs
- PromptEventArgs.cs
- QueryCoreOp.cs
- WeakReferenceEnumerator.cs