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
- GZipStream.cs
- PrimitiveCodeDomSerializer.cs
- ToolStripSplitButton.cs
- ViewLoader.cs
- XmlDataSourceNodeDescriptor.cs
- UpDownEvent.cs
- SoapSchemaImporter.cs
- ReaderWriterLock.cs
- Label.cs
- ControlIdConverter.cs
- PageParserFilter.cs
- SqlUtil.cs
- WebServiceHandlerFactory.cs
- Win32MouseDevice.cs
- DesignerSerializationManager.cs
- NamespaceDisplay.xaml.cs
- TextElementEnumerator.cs
- SafeRegistryHandle.cs
- EnumValAlphaComparer.cs
- OptimizedTemplateContentHelper.cs
- Delegate.cs
- hresults.cs
- ConfigurationFileMap.cs
- FontNamesConverter.cs
- ListBoxItemAutomationPeer.cs
- TypedTableBaseExtensions.cs
- FlowDocumentReader.cs
- TransactionManager.cs
- NativeMethodsCLR.cs
- SectionInput.cs
- HandleRef.cs
- DigestTraceRecordHelper.cs
- TextEditorCopyPaste.cs
- ColumnHeaderCollectionEditor.cs
- Expander.cs
- Publisher.cs
- ReliableSessionBindingElementImporter.cs
- SecurityPolicySection.cs
- StorageComplexTypeMapping.cs
- IndentTextWriter.cs
- Span.cs
- SkinBuilder.cs
- InkSerializer.cs
- HandledEventArgs.cs
- BinaryObjectWriter.cs
- PenContexts.cs
- SevenBitStream.cs
- DefaultMemberAttribute.cs
- EventProviderWriter.cs
- WebPartVerbsEventArgs.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- PenContexts.cs
- DropTarget.cs
- SocketException.cs
- Parser.cs
- ObjectViewFactory.cs
- DataSourceCache.cs
- StringFreezingAttribute.cs
- DesignBindingEditor.cs
- WebException.cs
- ScrollChrome.cs
- ColumnMapProcessor.cs
- DelayedRegex.cs
- DataGridViewRowHeaderCell.cs
- IOException.cs
- VersionedStreamOwner.cs
- DiagnosticsConfigurationHandler.cs
- FixUp.cs
- ExtensionQuery.cs
- TabletDeviceInfo.cs
- WebGetAttribute.cs
- SequentialActivityDesigner.cs
- Persist.cs
- DrawTreeNodeEventArgs.cs
- StylusPointProperty.cs
- OrderedEnumerableRowCollection.cs
- FixedSOMImage.cs
- DataRecordInfo.cs
- DbFunctionCommandTree.cs
- GroupQuery.cs
- SyntaxCheck.cs
- SynchronizationScope.cs
- GridViewCancelEditEventArgs.cs
- WebPartCatalogAddVerb.cs
- SectionRecord.cs
- HwndSourceParameters.cs
- GraphicsPathIterator.cs
- MSAAEventDispatcher.cs
- ProcessHostMapPath.cs
- FileSecurity.cs
- ItemPager.cs
- PropertyItem.cs
- ParallelTimeline.cs
- DependencyPropertyAttribute.cs
- InstanceDataCollection.cs
- SecurityChannelListener.cs
- ConstructorBuilder.cs
- UIElementParagraph.cs
- FixedSOMTable.cs
- TextBoxBase.cs