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
- Function.cs
- SerializationSectionGroup.cs
- CacheHelper.cs
- IsolationInterop.cs
- ReverseQueryOperator.cs
- UpdatePanelTrigger.cs
- DynamicQueryableWrapper.cs
- UnaryNode.cs
- FormViewDeleteEventArgs.cs
- MetadataItemEmitter.cs
- BitmapEffectInput.cs
- SymDocumentType.cs
- Token.cs
- SelectedCellsChangedEventArgs.cs
- EventLogStatus.cs
- SafeNativeMethodsOther.cs
- MimeBasePart.cs
- ManagedIStream.cs
- TypefaceMetricsCache.cs
- GenericWebPart.cs
- Rotation3D.cs
- MobileTextWriter.cs
- CachedPathData.cs
- BamlReader.cs
- TextBoxDesigner.cs
- MenuItem.cs
- SqlLiftIndependentRowExpressions.cs
- InvokeSchedule.cs
- XmlDataSourceView.cs
- BamlResourceContent.cs
- TreeNodeStyle.cs
- XPathChildIterator.cs
- CryptographicAttribute.cs
- PropertyValueChangedEvent.cs
- Quaternion.cs
- Boolean.cs
- ScrollEvent.cs
- HostedImpersonationContext.cs
- RegexRunner.cs
- SegmentTree.cs
- HttpCapabilitiesEvaluator.cs
- EntityPropertyMappingAttribute.cs
- UpdatableGenericsFeature.cs
- ImmutableClientRuntime.cs
- CompressedStack.cs
- PartitionedStreamMerger.cs
- EventMap.cs
- HtmlTitle.cs
- ProcessModule.cs
- NativeStructs.cs
- RoutedCommand.cs
- ContentControl.cs
- BinaryNode.cs
- DecimalKeyFrameCollection.cs
- LogReserveAndAppendState.cs
- ColumnCollection.cs
- OpenTypeLayout.cs
- DrawingVisualDrawingContext.cs
- SiteMapHierarchicalDataSourceView.cs
- SQLBytesStorage.cs
- Propagator.cs
- IntPtr.cs
- ParseChildrenAsPropertiesAttribute.cs
- GetPageCompletedEventArgs.cs
- BevelBitmapEffect.cs
- ComplexBindingPropertiesAttribute.cs
- SiteMap.cs
- _HTTPDateParse.cs
- SessionStateItemCollection.cs
- CompilerErrorCollection.cs
- clipboard.cs
- ItemsControlAutomationPeer.cs
- TimersDescriptionAttribute.cs
- DataGridViewBindingCompleteEventArgs.cs
- TextTrailingWordEllipsis.cs
- ConfigurationPropertyCollection.cs
- SafeUserTokenHandle.cs
- SubordinateTransaction.cs
- SubstitutionList.cs
- DefaultConfirmation.cs
- ResolvedKeyFrameEntry.cs
- DataTableReader.cs
- IgnoreDeviceFilterElement.cs
- SafeRightsManagementSessionHandle.cs
- RawStylusInputReport.cs
- SynchronizingStream.cs
- FormViewDeleteEventArgs.cs
- SizeKeyFrameCollection.cs
- FilterException.cs
- QueueNameHelper.cs
- DataGridColumnCollectionEditor.cs
- EncryptedXml.cs
- DrawingBrush.cs
- DoubleAnimationUsingPath.cs
- ValidatorCollection.cs
- ComPlusInstanceProvider.cs
- Triangle.cs
- WindowsSlider.cs
- ColumnResizeAdorner.cs
- Vector3DAnimationUsingKeyFrames.cs