Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- PermissionRequestEvidence.cs
- ImageCodecInfo.cs
- SystemColorTracker.cs
- ArraySegment.cs
- GacUtil.cs
- Emitter.cs
- TableLayoutPanel.cs
- Line.cs
- Cursors.cs
- NameSpaceEvent.cs
- LoginView.cs
- DiscoveryEndpointElement.cs
- DbProviderSpecificTypePropertyAttribute.cs
- DataServiceResponse.cs
- ApplicationHost.cs
- SqlFacetAttribute.cs
- DaylightTime.cs
- Walker.cs
- DeclaredTypeValidatorAttribute.cs
- BackgroundFormatInfo.cs
- parserscommon.cs
- TemplatePagerField.cs
- CancellationTokenSource.cs
- ImageSourceValueSerializer.cs
- HwndSource.cs
- Handle.cs
- PersonalizationProviderCollection.cs
- UnsafeNativeMethods.cs
- EntitySetBase.cs
- SessionStateUtil.cs
- WebPartVerb.cs
- Stack.cs
- ArrayHelper.cs
- DisplayToken.cs
- PreProcessor.cs
- HostingPreferredMapPath.cs
- ZipIORawDataFileBlock.cs
- LinkClickEvent.cs
- _ScatterGatherBuffers.cs
- ScrollItemPatternIdentifiers.cs
- HierarchicalDataSourceControl.cs
- XmlEncodedRawTextWriter.cs
- ProviderConnectionPoint.cs
- TemplateNameScope.cs
- HebrewNumber.cs
- basemetadatamappingvisitor.cs
- RelationalExpressions.cs
- XmlSchemaValidator.cs
- EventLogEntry.cs
- UpdateTranslator.cs
- ParenthesizePropertyNameAttribute.cs
- Empty.cs
- SystemGatewayIPAddressInformation.cs
- HitTestDrawingContextWalker.cs
- ViewManagerAttribute.cs
- EditorZoneBase.cs
- RoleGroup.cs
- RoutingChannelExtension.cs
- controlskin.cs
- SingleAnimationUsingKeyFrames.cs
- DocumentPaginator.cs
- SelectionListDesigner.cs
- coordinator.cs
- XmlSchemaDocumentation.cs
- StrongName.cs
- ErrorFormatterPage.cs
- FocusChangedEventArgs.cs
- CodeMemberMethod.cs
- OrderedDictionary.cs
- Misc.cs
- SqlMethodCallConverter.cs
- SchemaImporterExtensionsSection.cs
- SqlCacheDependencySection.cs
- FixedSOMTable.cs
- InstancePersistenceCommandException.cs
- List.cs
- MD5HashHelper.cs
- ActivationServices.cs
- OletxCommittableTransaction.cs
- ReflectionPermission.cs
- FilterElement.cs
- ExpandableObjectConverter.cs
- NamespaceEmitter.cs
- UriTemplateTableMatchCandidate.cs
- DependencyPropertyDescriptor.cs
- GenericNameHandler.cs
- _FixedSizeReader.cs
- QilExpression.cs
- StandardMenuStripVerb.cs
- SecurityDocument.cs
- IndexedDataBuffer.cs
- HandledMouseEvent.cs
- ScrollItemProviderWrapper.cs
- CheckBoxAutomationPeer.cs
- ProxyElement.cs
- AssemblyUtil.cs
- FixUpCollection.cs
- MobileListItem.cs
- CompilationSection.cs
- Track.cs