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
- QilExpression.cs
- SwitchLevelAttribute.cs
- MissingFieldException.cs
- ControlPaint.cs
- DeflateStreamAsyncResult.cs
- FontWeight.cs
- EnumerableWrapperWeakToStrong.cs
- Shared.cs
- Vector3D.cs
- SqlConnection.cs
- PasswordTextNavigator.cs
- CaseExpr.cs
- SR.cs
- DelayLoadType.cs
- XmlMemberMapping.cs
- WebPartAddingEventArgs.cs
- ViewSimplifier.cs
- RectangleGeometry.cs
- PropertyEmitter.cs
- TransactionFlowOption.cs
- MouseButton.cs
- mediaeventargs.cs
- X509CertificateStore.cs
- ExpressionBuilderCollection.cs
- DateTimeValueSerializer.cs
- ConfigViewGenerator.cs
- SamlAction.cs
- MimeMultiPart.cs
- ListDataHelper.cs
- EmptyCollection.cs
- PropertyInfo.cs
- ColumnMapProcessor.cs
- StorageModelBuildProvider.cs
- RenderData.cs
- DrawingImage.cs
- ClusterSafeNativeMethods.cs
- CodeSnippetCompileUnit.cs
- ItemAutomationPeer.cs
- TreeIterators.cs
- Unit.cs
- FontDifferentiator.cs
- Profiler.cs
- PermissionAttributes.cs
- TextSegment.cs
- SiteMapNodeCollection.cs
- SqlDataSourceFilteringEventArgs.cs
- SimpleLine.cs
- WebPartConnectionsDisconnectVerb.cs
- HtmlAnchor.cs
- SHA1Managed.cs
- LongValidatorAttribute.cs
- TextElementEditingBehaviorAttribute.cs
- WebServiceAttribute.cs
- CapabilitiesUse.cs
- FileDataSourceCache.cs
- SystemDropShadowChrome.cs
- Preprocessor.cs
- SqlClientWrapperSmiStreamChars.cs
- DbBuffer.cs
- PeerCredential.cs
- GridItemProviderWrapper.cs
- DiscoveryClientDocuments.cs
- ProgressBarRenderer.cs
- TextSelectionProcessor.cs
- BrushValueSerializer.cs
- ReferenceTypeElement.cs
- Duration.cs
- MailWriter.cs
- MimePart.cs
- SerializationUtility.cs
- WsiProfilesElement.cs
- OpCellTreeNode.cs
- TableRowGroup.cs
- DataGridViewButtonCell.cs
- FunctionImportElement.cs
- Char.cs
- EditingCoordinator.cs
- ModuleBuilderData.cs
- SharedUtils.cs
- RelationshipEnd.cs
- SQLUtility.cs
- Visual.cs
- CompilationPass2TaskInternal.cs
- WhileDesigner.cs
- DesignerExtenders.cs
- XmlSchema.cs
- Compilation.cs
- DetailsViewRowCollection.cs
- InvalidCommandTreeException.cs
- XmlWhitespace.cs
- JobPageOrder.cs
- Application.cs
- SQLSingle.cs
- SQLDateTimeStorage.cs
- WebBrowserNavigatingEventHandler.cs
- ForeignKeyConstraint.cs
- RangeBaseAutomationPeer.cs
- DesignConnectionCollection.cs
- WSFederationHttpSecurityElement.cs
- ListViewItemSelectionChangedEvent.cs