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
- IndexOutOfRangeException.cs
- Choices.cs
- EDesignUtil.cs
- FunctionDetailsReader.cs
- Dictionary.cs
- DataRowChangeEvent.cs
- DisposableCollectionWrapper.cs
- TextSelection.cs
- QilName.cs
- DynamicPropertyHolder.cs
- Expander.cs
- RotateTransform.cs
- PresentationTraceSources.cs
- SafeFindHandle.cs
- FigureParagraph.cs
- ReachFixedPageSerializerAsync.cs
- MD5.cs
- CategoryGridEntry.cs
- KeyedHashAlgorithm.cs
- tooltip.cs
- OLEDB_Enum.cs
- ListViewItem.cs
- WeakReference.cs
- TagNameToTypeMapper.cs
- _DisconnectOverlappedAsyncResult.cs
- SmiEventSink_Default.cs
- TypeForwardedToAttribute.cs
- StringDictionary.cs
- InvalidCastException.cs
- WorkflowCreationContext.cs
- DataSourceSerializationException.cs
- AttributeQuery.cs
- ComponentCollection.cs
- WindowsGraphics.cs
- SqlBooleanizer.cs
- LocatorManager.cs
- SecurityTraceRecordHelper.cs
- ObsoleteAttribute.cs
- Image.cs
- WrapPanel.cs
- UIAgentInitializationException.cs
- OuterGlowBitmapEffect.cs
- OutOfProcStateClientManager.cs
- httpstaticobjectscollection.cs
- AsymmetricAlgorithm.cs
- ToolStripPanel.cs
- Ipv6Element.cs
- DynamicQueryableWrapper.cs
- ImageIndexConverter.cs
- Resources.Designer.cs
- NavigationWindowAutomationPeer.cs
- TheQuery.cs
- RoleProviderPrincipal.cs
- ColumnReorderedEventArgs.cs
- RuntimeHelpers.cs
- ExecutionContext.cs
- AutomationEventArgs.cs
- RelatedPropertyManager.cs
- Attachment.cs
- BigInt.cs
- AsyncOperationManager.cs
- SettingsContext.cs
- IntSecurity.cs
- HybridDictionary.cs
- Rect3DValueSerializer.cs
- SimpleWorkerRequest.cs
- ResourceDescriptionAttribute.cs
- Debugger.cs
- EventMappingSettings.cs
- XmlExtensionFunction.cs
- PolyLineSegmentFigureLogic.cs
- PropertySet.cs
- TableCell.cs
- MessageLogger.cs
- XmlNodeChangedEventManager.cs
- MonitoringDescriptionAttribute.cs
- CustomAssemblyResolver.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ActivityInstanceReference.cs
- FixedSchema.cs
- InlineCollection.cs
- MessageQueueConverter.cs
- Win32.cs
- ListViewGroup.cs
- CultureTableRecord.cs
- DiagnosticTrace.cs
- ContainerControlDesigner.cs
- StylusDownEventArgs.cs
- StrokeNodeData.cs
- SecurityTokenRequirement.cs
- ReachPageContentSerializer.cs
- RequestCacheValidator.cs
- SplitterPanel.cs
- LogicalTreeHelper.cs
- SmtpCommands.cs
- AdapterUtil.cs
- MonitorWrapper.cs
- StateDesigner.TransitionInfo.cs
- UnaryExpression.cs
- CachingHintValidation.cs