Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- Compress.cs
- LiteralSubsegment.cs
- FormViewDeleteEventArgs.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- EventsTab.cs
- QueryReaderSettings.cs
- invalidudtexception.cs
- HostingEnvironment.cs
- HttpProfileGroupBase.cs
- HttpException.cs
- Knowncolors.cs
- SchemaMapping.cs
- WindowCollection.cs
- Metadata.cs
- VersionPair.cs
- WebServiceMethodData.cs
- InputMethodStateTypeInfo.cs
- VerticalAlignConverter.cs
- HtmlTableRow.cs
- CollectionViewGroupRoot.cs
- FilterEventArgs.cs
- RenderCapability.cs
- WMIGenerator.cs
- EdmSchemaAttribute.cs
- ImageDrawing.cs
- MSAANativeProvider.cs
- BamlBinaryWriter.cs
- XPathNodePointer.cs
- ObjectDataSourceStatusEventArgs.cs
- DataGridViewRowEventArgs.cs
- SizeFConverter.cs
- Transaction.cs
- DocumentScope.cs
- MobileControlDesigner.cs
- TemporaryBitmapFile.cs
- WorkflowInstance.cs
- RelativeSource.cs
- Triangle.cs
- MethodBuilderInstantiation.cs
- MenuItemBinding.cs
- HostnameComparisonMode.cs
- PeerCustomResolverElement.cs
- UnsafeNativeMethods.cs
- DateTimeConverter.cs
- ArgumentException.cs
- InputBuffer.cs
- storepermission.cs
- DataProtection.cs
- ClientUtils.cs
- _CacheStreams.cs
- Instrumentation.cs
- RegexCaptureCollection.cs
- PeerDuplexChannel.cs
- AsyncOperation.cs
- RectAnimationUsingKeyFrames.cs
- ListControlBoundActionList.cs
- ServiceElementCollection.cs
- LongPath.cs
- RuleInfoComparer.cs
- AuthorizationContext.cs
- IdentityHolder.cs
- WindowsProgressbar.cs
- StateBag.cs
- LowerCaseStringConverter.cs
- GroupStyle.cs
- TextBreakpoint.cs
- HttpConfigurationContext.cs
- CmsUtils.cs
- AutomationPatternInfo.cs
- EarlyBoundInfo.cs
- DataGridViewTextBoxCell.cs
- UDPClient.cs
- DataRowChangeEvent.cs
- RepeaterItem.cs
- ConsumerConnectionPoint.cs
- CursorInteropHelper.cs
- ControlTemplate.cs
- EntityProviderServices.cs
- SrgsGrammar.cs
- ListViewAutomationPeer.cs
- XmlHierarchyData.cs
- TokenBasedSetEnumerator.cs
- UInt16.cs
- PerfProviderCollection.cs
- WebPartDisplayModeCollection.cs
- UnknownBitmapDecoder.cs
- XhtmlMobileTextWriter.cs
- Int32Storage.cs
- MarshalByRefObject.cs
- login.cs
- ContextMenu.cs
- AutomationIdentifier.cs
- DataProtection.cs
- CustomCredentialPolicy.cs
- SrgsSemanticInterpretationTag.cs
- BoolExpressionVisitors.cs
- DataProtectionSecurityStateEncoder.cs
- _NTAuthentication.cs
- DbDataSourceEnumerator.cs
- GAC.cs