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
- SocketPermission.cs
- ItemCheckEvent.cs
- CompiledRegexRunnerFactory.cs
- SocketElement.cs
- CompModHelpers.cs
- ViewCellSlot.cs
- ResourceAssociationSetEnd.cs
- X509AsymmetricSecurityKey.cs
- SchemaImporter.cs
- DataServiceHostFactory.cs
- SqlRewriteScalarSubqueries.cs
- OpCodes.cs
- UpdatePanel.cs
- SharedStatics.cs
- PropertyItem.cs
- SqlTopReducer.cs
- EntitySetBaseCollection.cs
- DataMisalignedException.cs
- DataGridViewCellStyle.cs
- DataGridAddNewRow.cs
- GeneralTransform2DTo3DTo2D.cs
- EdmToObjectNamespaceMap.cs
- ProjectedSlot.cs
- MsiStyleLogWriter.cs
- WindowsStatic.cs
- SRef.cs
- SystemColors.cs
- DecimalConverter.cs
- TemplatedWizardStep.cs
- AccessDataSourceDesigner.cs
- MediaElement.cs
- MissingMethodException.cs
- XmlILStorageConverter.cs
- ToolBarPanel.cs
- keycontainerpermission.cs
- ProfileGroupSettingsCollection.cs
- PointAnimationUsingPath.cs
- Enum.cs
- SafeRightsManagementHandle.cs
- SqlErrorCollection.cs
- SafeRightsManagementSessionHandle.cs
- DataSourceIDConverter.cs
- NoPersistHandle.cs
- SoapAttributes.cs
- DataGridViewToolTip.cs
- BaseCodeDomTreeGenerator.cs
- DelegateSerializationHolder.cs
- XmlIterators.cs
- SQLMoneyStorage.cs
- DataServiceSaveChangesEventArgs.cs
- _ConnectStream.cs
- StickyNoteHelper.cs
- PlatformNotSupportedException.cs
- TextEditorDragDrop.cs
- SafeNativeMethods.cs
- HtmlInputReset.cs
- MultiBindingExpression.cs
- ResourceAttributes.cs
- Int32AnimationBase.cs
- Geometry.cs
- PermissionAttributes.cs
- MetadataItemEmitter.cs
- XmlBaseReader.cs
- TerminatorSinks.cs
- ConfigXmlAttribute.cs
- CommandDevice.cs
- RegisteredDisposeScript.cs
- RequiredFieldValidator.cs
- SymmetricAlgorithm.cs
- BStrWrapper.cs
- Events.cs
- ImageListUtils.cs
- DataRecordInternal.cs
- ProviderCollection.cs
- OLEDB_Util.cs
- Console.cs
- LinqDataSourceContextData.cs
- InputEventArgs.cs
- ToolStripSplitStackLayout.cs
- lengthconverter.cs
- InOutArgumentConverter.cs
- HttpListenerException.cs
- DataStreams.cs
- Message.cs
- RowToParametersTransformer.cs
- ResourceReferenceExpression.cs
- TextDecoration.cs
- Pointer.cs
- SqlResolver.cs
- WorkflowRuntimeServiceElementCollection.cs
- DetailsViewDeleteEventArgs.cs
- DesignerActionUIStateChangeEventArgs.cs
- SliderAutomationPeer.cs
- SystemResourceHost.cs
- CallbackTimeoutsElement.cs
- HttpApplication.cs
- TextSearch.cs
- MapPathBasedVirtualPathProvider.cs
- CommunicationObject.cs
- DoubleKeyFrameCollection.cs