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
- CompatibleIComparer.cs
- WindowsFormsLinkLabel.cs
- SafeEventLogWriteHandle.cs
- Parser.cs
- ParseChildrenAsPropertiesAttribute.cs
- ThreadInterruptedException.cs
- FontFamily.cs
- DocumentApplicationJournalEntry.cs
- UnmanagedMemoryStreamWrapper.cs
- NetMsmqBindingCollectionElement.cs
- DataBindingHandlerAttribute.cs
- HierarchicalDataTemplate.cs
- HitTestWithGeometryDrawingContextWalker.cs
- Win32.cs
- PolicyChain.cs
- DetailsViewInsertedEventArgs.cs
- IndexOutOfRangeException.cs
- AlphaSortedEnumConverter.cs
- MouseGestureValueSerializer.cs
- ReflectionServiceProvider.cs
- CheckBox.cs
- Cloud.cs
- ReceiveContext.cs
- GZipDecoder.cs
- VisualTarget.cs
- IdentityValidationException.cs
- DocobjHost.cs
- DataSourceHelper.cs
- TransactionsSectionGroup.cs
- ReliableChannelListener.cs
- UpWmlPageAdapter.cs
- OleDbRowUpdatedEvent.cs
- MenuItem.cs
- Polygon.cs
- SoapObjectReader.cs
- TablePattern.cs
- NameTable.cs
- ControlParameter.cs
- SafeCertificateContext.cs
- WebBrowserNavigatingEventHandler.cs
- TextDocumentView.cs
- EventLogInformation.cs
- SchemaAttDef.cs
- WindowsFormsHost.cs
- EntryWrittenEventArgs.cs
- MulticastIPAddressInformationCollection.cs
- TransformedBitmap.cs
- DocumentViewerHelper.cs
- PolicyException.cs
- httpstaticobjectscollection.cs
- DynamicValueConverter.cs
- FilterableAttribute.cs
- WindowsTab.cs
- XmlSerializationReader.cs
- ContextMenuStrip.cs
- XhtmlConformanceSection.cs
- TableLayoutSettings.cs
- Metafile.cs
- XmlResolver.cs
- SqlConnectionHelper.cs
- SingleAnimationBase.cs
- SharedPersonalizationStateInfo.cs
- EdmComplexPropertyAttribute.cs
- TextPointerBase.cs
- CodeIdentifier.cs
- BitmapMetadata.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- WindowsSecurityTokenAuthenticator.cs
- AppearanceEditorPart.cs
- ToolbarAUtomationPeer.cs
- DataContractSerializerServiceBehavior.cs
- SerializerDescriptor.cs
- MarkupExtensionParser.cs
- InteropExecutor.cs
- UserControlCodeDomTreeGenerator.cs
- SqlServer2KCompatibilityAnnotation.cs
- InstanceKeyCollisionException.cs
- AttachedPropertyMethodSelector.cs
- SecurityKeyIdentifierClause.cs
- ActivationArguments.cs
- StoreItemCollection.cs
- DuplicateContext.cs
- ResourceKey.cs
- XmlDocumentFieldSchema.cs
- MatchingStyle.cs
- XmlStreamStore.cs
- CodeConstructor.cs
- QilIterator.cs
- FormatSettings.cs
- FixedSOMElement.cs
- XmlSerializationGeneratedCode.cs
- ParentUndoUnit.cs
- AuthenticationSection.cs
- DataSourceXmlElementAttribute.cs
- VisualStyleRenderer.cs
- ISAPIWorkerRequest.cs
- OutputCacheProfile.cs
- DirectoryRootQuery.cs
- HandlerFactoryCache.cs
- DirectoryInfo.cs