Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / UI / TagPrefixAttribute.cs / 1 / TagPrefixAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; using System.ComponentModel; using System.Security.Permissions; using System.Web.Util; [AttributeUsage(AttributeTargets.Assembly, AllowMultiple=true)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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.Security.Permissions; using System.Web.Util; [AttributeUsage(AttributeTargets.Assembly, AllowMultiple=true)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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
- AuthenticatingEventArgs.cs
- Package.cs
- SchemaImporterExtensionsSection.cs
- XPathItem.cs
- AnimatedTypeHelpers.cs
- ProcessModelSection.cs
- embossbitmapeffect.cs
- Misc.cs
- DataGridTextBox.cs
- UrlMappingsSection.cs
- Solver.cs
- SizeChangedInfo.cs
- HostProtectionException.cs
- AppDomainUnloadedException.cs
- SEHException.cs
- CollectionViewGroup.cs
- Condition.cs
- BorderGapMaskConverter.cs
- ApplicationDirectory.cs
- Light.cs
- CqlParserHelpers.cs
- ProcessHost.cs
- TypeUsageBuilder.cs
- RegisteredHiddenField.cs
- ForAllOperator.cs
- ArrayWithOffset.cs
- FillBehavior.cs
- Touch.cs
- WebServiceData.cs
- FixedHyperLink.cs
- CodeExporter.cs
- followingsibling.cs
- TableChangeProcessor.cs
- InputBuffer.cs
- CharacterString.cs
- BCryptSafeHandles.cs
- ISCIIEncoding.cs
- CompiledXpathExpr.cs
- CreateUserWizard.cs
- DatasetMethodGenerator.cs
- DisplayInformation.cs
- IsolationInterop.cs
- HttpWebRequest.cs
- Int64KeyFrameCollection.cs
- DesignerCatalogPartChrome.cs
- XmlNodeComparer.cs
- TimeSpanValidatorAttribute.cs
- TextHidden.cs
- HostExecutionContextManager.cs
- RSATokenProvider.cs
- TextCharacters.cs
- ToolboxComponentsCreatingEventArgs.cs
- ListMarkerLine.cs
- MatchNoneMessageFilter.cs
- Context.cs
- TabItemWrapperAutomationPeer.cs
- CharConverter.cs
- BoundColumn.cs
- Span.cs
- Bookmark.cs
- WebPartManagerInternals.cs
- NavigationFailedEventArgs.cs
- DefaultAuthorizationContext.cs
- TableItemPatternIdentifiers.cs
- UniqueIdentifierService.cs
- ExtenderProvidedPropertyAttribute.cs
- ResourceExpression.cs
- CodeDefaultValueExpression.cs
- MultipleViewProviderWrapper.cs
- FrameworkElement.cs
- GridViewColumn.cs
- EnlistmentState.cs
- DbConnectionPoolGroupProviderInfo.cs
- Point.cs
- NameTable.cs
- ZipIOLocalFileHeader.cs
- StreamGeometry.cs
- DBAsyncResult.cs
- Variable.cs
- Item.cs
- ModuleElement.cs
- FontInfo.cs
- DbConnectionPool.cs
- MetadataItemSerializer.cs
- DateTimeValueSerializerContext.cs
- StrokeFIndices.cs
- ValidationResult.cs
- SetIterators.cs
- ByValueEqualityComparer.cs
- CollectionViewGroupRoot.cs
- EditingCommands.cs
- WhitespaceRule.cs
- TreeNodeStyle.cs
- IdentifierService.cs
- ListViewEditEventArgs.cs
- IDataContractSurrogate.cs
- TraceRecord.cs
- COAUTHINFO.cs
- HtmlAnchor.cs
- PeerService.cs