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
- XmlIgnoreAttribute.cs
- XsdDateTime.cs
- ISSmlParser.cs
- QueryExtender.cs
- TextBreakpoint.cs
- StringToken.cs
- FollowerQueueCreator.cs
- UrlMappingsSection.cs
- SimpleWorkerRequest.cs
- ReflectEventDescriptor.cs
- RealProxy.cs
- WebControl.cs
- XsltArgumentList.cs
- SerializationInfoEnumerator.cs
- XmlDictionaryWriter.cs
- Italic.cs
- DefaultBinder.cs
- Control.cs
- Number.cs
- TreeViewAutomationPeer.cs
- RadioButton.cs
- HttpRawResponse.cs
- _Semaphore.cs
- InstanceDataCollectionCollection.cs
- KeyEvent.cs
- SHA1.cs
- XmlExtensionFunction.cs
- SoapSchemaMember.cs
- XmlDataSource.cs
- DoubleLinkListEnumerator.cs
- MethodSignatureGenerator.cs
- ISO2022Encoding.cs
- XsltContext.cs
- CustomValidator.cs
- ExceptionHandlers.cs
- XPathMessageFilter.cs
- Wizard.cs
- StateBag.cs
- CodePageEncoding.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- processwaithandle.cs
- UpDownEvent.cs
- ProxyFragment.cs
- mansign.cs
- AlternateViewCollection.cs
- SecUtil.cs
- NativeMethods.cs
- ScopedKnownTypes.cs
- DefaultPerformanceCounters.cs
- FrameworkObject.cs
- WebPartVerb.cs
- EditableRegion.cs
- ReadOnlyHierarchicalDataSource.cs
- LambdaReference.cs
- XmlSchemaCollection.cs
- ModuleElement.cs
- MarginCollapsingState.cs
- BitmapMetadata.cs
- TabPage.cs
- CalendarAutoFormat.cs
- RoleGroup.cs
- LinkedDataMemberFieldEditor.cs
- MimeParameters.cs
- WindowsFont.cs
- BitmapEffectDrawing.cs
- PolygonHotSpot.cs
- BuilderInfo.cs
- SecurityTokenReferenceStyle.cs
- RoleService.cs
- CapabilitiesState.cs
- TextContainerChangedEventArgs.cs
- ProxyAttribute.cs
- ImageSource.cs
- Hash.cs
- ContextInformation.cs
- ClosableStream.cs
- EncoderParameters.cs
- FreezableCollection.cs
- TemplatePartAttribute.cs
- EntityStoreSchemaFilterEntry.cs
- MenuItemStyleCollection.cs
- ExceptionHelpers.cs
- AxDesigner.cs
- RowUpdatingEventArgs.cs
- OleDbWrapper.cs
- LocatorBase.cs
- WMICapabilities.cs
- NativeMethodsCLR.cs
- ListBindingHelper.cs
- PersianCalendar.cs
- NonParentingControl.cs
- ElementsClipboardData.cs
- SHA256Managed.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- KeyboardEventArgs.cs
- StreamGeometry.cs
- CopyAttributesAction.cs
- ComplexObject.cs
- HtmlInputControl.cs
- PerformanceCounterCategory.cs