Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DataControlFieldHeaderCell.cs
- DesignTimeVisibleAttribute.cs
- QuaternionRotation3D.cs
- RepeaterItemEventArgs.cs
- EndpointDiscoveryMetadataCD1.cs
- ObjectRef.cs
- input.cs
- EditingMode.cs
- QilTernary.cs
- CompleteWizardStep.cs
- FrameworkElementAutomationPeer.cs
- Expr.cs
- RenderDataDrawingContext.cs
- AssemblyHash.cs
- LocatorPartList.cs
- SoapObjectWriter.cs
- CodeObjectCreateExpression.cs
- XMLSchema.cs
- ReplacementText.cs
- NavigationProgressEventArgs.cs
- XPathNodeIterator.cs
- SettingsPropertyWrongTypeException.cs
- ObjectSecurity.cs
- ReliableOutputSessionChannel.cs
- PrimitiveCodeDomSerializer.cs
- DesignerValidationSummaryAdapter.cs
- ISessionStateStore.cs
- Tile.cs
- LockedBorderGlyph.cs
- DataGridRowEventArgs.cs
- AnonymousIdentificationSection.cs
- XmlSchemaCollection.cs
- BaseParser.cs
- XmlTextReaderImpl.cs
- CommandTreeTypeHelper.cs
- AtomMaterializerLog.cs
- ContainerControl.cs
- WmlPageAdapter.cs
- DataGridViewCellStateChangedEventArgs.cs
- TextFormatterHost.cs
- FormViewUpdatedEventArgs.cs
- ReadOnlyHierarchicalDataSourceView.cs
- PropertyItemInternal.cs
- Rect.cs
- PeerToPeerException.cs
- DeadCharTextComposition.cs
- MruCache.cs
- ColorPalette.cs
- AdRotator.cs
- TemplateBindingExpression.cs
- ColorAnimationUsingKeyFrames.cs
- EventProxy.cs
- ConfigXmlReader.cs
- XpsDocument.cs
- RequestCachingSection.cs
- Item.cs
- OneToOneMappingSerializer.cs
- MatchingStyle.cs
- XmlSchemaProviderAttribute.cs
- ProvideValueServiceProvider.cs
- WindowProviderWrapper.cs
- PropertyInformationCollection.cs
- OleDbFactory.cs
- AlternationConverter.cs
- AssemblyAttributesGoHere.cs
- SHA256Managed.cs
- CallContext.cs
- RectValueSerializer.cs
- _DomainName.cs
- SplineQuaternionKeyFrame.cs
- ChangeDirector.cs
- MarkedHighlightComponent.cs
- Separator.cs
- ExpressionBuilderContext.cs
- CompiledQuery.cs
- DataGridItem.cs
- TouchesCapturedWithinProperty.cs
- ListItemsCollectionEditor.cs
- ListCollectionView.cs
- Utils.cs
- StorageEntityContainerMapping.cs
- StrongNameMembershipCondition.cs
- ListenerChannelContext.cs
- LineBreak.cs
- TypedServiceChannelBuilder.cs
- Timer.cs
- Int16KeyFrameCollection.cs
- Task.cs
- DeadLetterQueue.cs
- WebMessageFormatHelper.cs
- ScriptManager.cs
- CapacityStreamGeometryContext.cs
- NativeMethodsCLR.cs
- SerialReceived.cs
- GeometryHitTestResult.cs
- MobileComponentEditorPage.cs
- Assembly.cs
- SamlDoNotCacheCondition.cs
- IBuiltInEvidence.cs
- ProtectedConfigurationSection.cs