Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / TagPrefixAttribute.cs / 1305376 / TagPrefixAttribute.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI {
using System;
using System.ComponentModel;
using System.Web.Util;
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple=true)]
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;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RequiredFieldValidator.cs
- CompiledQueryCacheKey.cs
- SelectionItemProviderWrapper.cs
- GridViewPageEventArgs.cs
- WindowsScroll.cs
- TableProviderWrapper.cs
- TextDecorationLocationValidation.cs
- ScriptResourceHandler.cs
- CultureTableRecord.cs
- EventMappingSettingsCollection.cs
- MergePropertyDescriptor.cs
- OpenFileDialog.cs
- WindowAutomationPeer.cs
- WebPartTransformer.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- RepeatBehavior.cs
- DesignOnlyAttribute.cs
- StructuralType.cs
- AssemblyHash.cs
- LoginNameDesigner.cs
- parserscommon.cs
- Line.cs
- DataSysAttribute.cs
- PromptBuilder.cs
- TreeView.cs
- mediaeventargs.cs
- PersonalizableTypeEntry.cs
- ListViewPagedDataSource.cs
- CLRBindingWorker.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- Tile.cs
- TimeoutException.cs
- XmlDataProvider.cs
- AnnotationHighlightLayer.cs
- ClrProviderManifest.cs
- DetailsView.cs
- EventHandlersStore.cs
- SmiRequestExecutor.cs
- CorePropertiesFilter.cs
- WebPartTransformer.cs
- ClusterUtils.cs
- DiscoveryEndpointElement.cs
- ActionMismatchAddressingException.cs
- InvokePattern.cs
- HtmlDocument.cs
- QilInvoke.cs
- GlyphRunDrawing.cs
- User.cs
- Decorator.cs
- TextChangedEventArgs.cs
- KeyValuePairs.cs
- PrivilegedConfigurationManager.cs
- ClientFormsAuthenticationCredentials.cs
- ManagementObject.cs
- RecognizedAudio.cs
- RegexCompilationInfo.cs
- TextChange.cs
- _UriSyntax.cs
- LoadItemsEventArgs.cs
- DataServiceException.cs
- PassportAuthentication.cs
- XamlTemplateSerializer.cs
- DrawingVisual.cs
- counter.cs
- MobileRedirect.cs
- ProtocolsConfiguration.cs
- MissingMethodException.cs
- StyleSelector.cs
- SiteMapProvider.cs
- FileFormatException.cs
- MethodSet.cs
- ButtonChrome.cs
- IntegerFacetDescriptionElement.cs
- UnknownBitmapDecoder.cs
- WinEventTracker.cs
- GlobalizationSection.cs
- BitmapEffectInput.cs
- MetroSerializationManager.cs
- SmiRecordBuffer.cs
- _SslSessionsCache.cs
- ExtensibleSyndicationObject.cs
- BasicExpandProvider.cs
- RegistrationServices.cs
- ButtonFieldBase.cs
- GreenMethods.cs
- UnsafeNetInfoNativeMethods.cs
- MsmqTransportBindingElement.cs
- returneventsaver.cs
- XmlSerializer.cs
- AuthenticationModuleElementCollection.cs
- mediaeventargs.cs
- MemberAccessException.cs
- PointLight.cs
- FunctionQuery.cs
- ToolStripManager.cs
- Rotation3DAnimation.cs
- HttpModuleAction.cs
- WhiteSpaceTrimStringConverter.cs
- DecimalAnimationUsingKeyFrames.cs
- Rotation3DKeyFrameCollection.cs