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
- RangeValidator.cs
- UrlPath.cs
- TypedDataSourceCodeGenerator.cs
- CommandEventArgs.cs
- CredentialManagerDialog.cs
- Image.cs
- CompatibleIComparer.cs
- OracleColumn.cs
- VirtualDirectoryMappingCollection.cs
- MetadataArtifactLoaderCompositeResource.cs
- TimeIntervalCollection.cs
- WorkflowStateRollbackService.cs
- ActivityTrace.cs
- SpeechRecognizer.cs
- ReflectionTypeLoadException.cs
- PerfService.cs
- SqlVisitor.cs
- COM2AboutBoxPropertyDescriptor.cs
- externdll.cs
- X509CertificateEndpointIdentity.cs
- ISFTagAndGuidCache.cs
- TypeElementCollection.cs
- CaseStatement.cs
- ContractAdapter.cs
- ObjectDataSourceSelectingEventArgs.cs
- ITreeGenerator.cs
- XmlCustomFormatter.cs
- ZoneButton.cs
- MatrixTransform3D.cs
- ProfessionalColors.cs
- MenuTracker.cs
- AuthorizationSection.cs
- EvidenceBase.cs
- ExtenderControl.cs
- CompilerErrorCollection.cs
- FixUp.cs
- DefaultBinder.cs
- ProxyWebPartManager.cs
- MessageEncodingBindingElement.cs
- TransformationRules.cs
- ActivityExecutorSurrogate.cs
- TrackingStringDictionary.cs
- WebPartEventArgs.cs
- XsltException.cs
- ObjectStateManagerMetadata.cs
- EditorBrowsableAttribute.cs
- DuplicateWaitObjectException.cs
- TraceLevelHelper.cs
- WindowsRichEditRange.cs
- Rect3DConverter.cs
- TextUtf8RawTextWriter.cs
- ConstraintEnumerator.cs
- GridPatternIdentifiers.cs
- HttpWebRequest.cs
- DocumentXmlWriter.cs
- TagMapCollection.cs
- Content.cs
- DispatcherTimer.cs
- PersonalizationEntry.cs
- HtmlTableRowCollection.cs
- WebPartUserCapability.cs
- TransformerInfo.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- FontFamilyConverter.cs
- EllipticalNodeOperations.cs
- ProfileSettings.cs
- FillBehavior.cs
- ArrayTypeMismatchException.cs
- ComNativeDescriptor.cs
- OdbcConnectionOpen.cs
- SQLInt32Storage.cs
- XmlCharacterData.cs
- SQLBytesStorage.cs
- DependencyProperty.cs
- XmlSchemas.cs
- StaticTextPointer.cs
- BamlRecordReader.cs
- CharacterShapingProperties.cs
- CheckBoxAutomationPeer.cs
- JsonEncodingStreamWrapper.cs
- PropertyTabAttribute.cs
- DES.cs
- TreeNode.cs
- ParseChildrenAsPropertiesAttribute.cs
- TableRowCollection.cs
- SspiHelper.cs
- Page.cs
- ConfigurationSectionCollection.cs
- ComponentResourceManager.cs
- TextServicesProperty.cs
- CommandCollectionEditor.cs
- CodeDomConfigurationHandler.cs
- AttachedPropertyMethodSelector.cs
- PolicyConversionContext.cs
- LogManagementAsyncResult.cs
- X509CertificateChain.cs
- AtlasWeb.Designer.cs
- LinkDescriptor.cs
- FileDialogPermission.cs
- WSHttpSecurityElement.cs