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
- FilteredDataSetHelper.cs
- Overlapped.cs
- SecurityKeyIdentifierClause.cs
- WebOperationContext.cs
- GridViewUpdatedEventArgs.cs
- UnsafeNativeMethods.cs
- WindowProviderWrapper.cs
- Win32Exception.cs
- RuleRef.cs
- KeyInfo.cs
- IgnorePropertiesAttribute.cs
- ScalarConstant.cs
- WebPartVerbCollection.cs
- OracleBoolean.cs
- EmptyEnumerable.cs
- RegexNode.cs
- Input.cs
- IgnorePropertiesAttribute.cs
- DataContractSet.cs
- PointLightBase.cs
- SecureStringHasher.cs
- MarkupWriter.cs
- LeaseManager.cs
- PassportAuthenticationEventArgs.cs
- indexingfiltermarshaler.cs
- EntityProviderFactory.cs
- ConstraintCollection.cs
- GroupDescription.cs
- StateBag.cs
- ImageMap.cs
- UIElementParaClient.cs
- TraceHwndHost.cs
- WebUtility.cs
- PenThread.cs
- StringFreezingAttribute.cs
- InputProcessorProfiles.cs
- VarRefManager.cs
- DataGridViewMethods.cs
- Int64Converter.cs
- sqlnorm.cs
- WindowsUpDown.cs
- KeyedCollection.cs
- XmlAttributeProperties.cs
- DataGridViewButtonCell.cs
- RoamingStoreFileUtility.cs
- EmbeddedMailObject.cs
- XmlSchemaImport.cs
- RequestDescription.cs
- SmiEventSink_Default.cs
- ExceptionUtil.cs
- TextFindEngine.cs
- HttpPostedFileWrapper.cs
- RelationshipEndCollection.cs
- MemoryStream.cs
- SqlNodeAnnotation.cs
- DBCommand.cs
- CodeAttributeDeclarationCollection.cs
- MsmqTransportReceiveParameters.cs
- AutomationPattern.cs
- DecoderReplacementFallback.cs
- GuidTagList.cs
- ServicesUtilities.cs
- WebPartAddingEventArgs.cs
- ObjectPropertyMapping.cs
- ProcessInputEventArgs.cs
- IssuedSecurityTokenParameters.cs
- XmlResolver.cs
- WorkflowViewStateService.cs
- XmlSequenceWriter.cs
- ConnectionOrientedTransportBindingElement.cs
- BadImageFormatException.cs
- ByteConverter.cs
- StreamInfo.cs
- SystemIPGlobalStatistics.cs
- FacetChecker.cs
- ModifierKeysConverter.cs
- LayoutDump.cs
- ZipArchive.cs
- Keywords.cs
- DllNotFoundException.cs
- DbConnectionPoolCounters.cs
- nulltextnavigator.cs
- FrameSecurityDescriptor.cs
- PostBackOptions.cs
- GenericWebPart.cs
- mongolianshape.cs
- XmlLoader.cs
- CacheAxisQuery.cs
- TextContainerChangedEventArgs.cs
- LabelExpression.cs
- TypeHelpers.cs
- SQLStringStorage.cs
- PropertyNames.cs
- OperationResponse.cs
- UnknownWrapper.cs
- WindowsComboBox.cs
- InheritanceService.cs
- WebEventCodes.cs
- FontCacheLogic.cs
- XmlSchemaSimpleTypeList.cs