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
- SafeCloseHandleCritical.cs
- recordstatescratchpad.cs
- xdrvalidator.cs
- XPathBinder.cs
- GridPatternIdentifiers.cs
- ThemeDictionaryExtension.cs
- AutomationPropertyInfo.cs
- BindingMAnagerBase.cs
- SqlMethodTransformer.cs
- GenericTextProperties.cs
- CultureTableRecord.cs
- TcpClientCredentialType.cs
- EventLogPermission.cs
- RepeatButtonAutomationPeer.cs
- DebugViewWriter.cs
- PersonalizationProviderCollection.cs
- SqlVersion.cs
- WindowsEditBox.cs
- XmlNamedNodeMap.cs
- JumpList.cs
- NoClickablePointException.cs
- ISAPIApplicationHost.cs
- FileDialog.cs
- TouchFrameEventArgs.cs
- CreateUserErrorEventArgs.cs
- Activity.cs
- WebPartCollection.cs
- ActivityDesigner.cs
- XhtmlBasicCommandAdapter.cs
- PackageStore.cs
- TraceContextEventArgs.cs
- ProxyWebPartManager.cs
- SafeProcessHandle.cs
- DataGridViewControlCollection.cs
- SystemInfo.cs
- Panel.cs
- UrlMappingsSection.cs
- SqlError.cs
- parserscommon.cs
- EntityDataSource.cs
- Decimal.cs
- HostAdapter.cs
- WebServiceMethodData.cs
- SmtpFailedRecipientsException.cs
- BaseTreeIterator.cs
- IPPacketInformation.cs
- PickBranch.cs
- CancelEventArgs.cs
- XmlExpressionDumper.cs
- Transform3DGroup.cs
- AttachedPropertyInfo.cs
- DataListGeneralPage.cs
- Pen.cs
- ListViewSelectEventArgs.cs
- RoutedPropertyChangedEventArgs.cs
- ElementInit.cs
- Variable.cs
- RecordsAffectedEventArgs.cs
- ToolStripItemDesigner.cs
- EntityDataSourceSelectingEventArgs.cs
- Compiler.cs
- ContentFileHelper.cs
- HtmlTableRowCollection.cs
- IndexerNameAttribute.cs
- AlgoModule.cs
- Stackframe.cs
- RepeatBehavior.cs
- FixedPageStructure.cs
- ClosableStream.cs
- AssertSection.cs
- XmlDictionary.cs
- documentsequencetextpointer.cs
- TextContainerChangeEventArgs.cs
- FlowchartDesignerCommands.cs
- TransformationRules.cs
- Splitter.cs
- ThreadSafeList.cs
- SerializationFieldInfo.cs
- TCEAdapterGenerator.cs
- DifferencingCollection.cs
- CompareValidator.cs
- HwndKeyboardInputProvider.cs
- OracleRowUpdatingEventArgs.cs
- XamlInt32CollectionSerializer.cs
- XmlUnspecifiedAttribute.cs
- MetadataStore.cs
- __Error.cs
- ModelVisual3D.cs
- DesignerCapabilities.cs
- SoundPlayerAction.cs
- GlobalizationSection.cs
- FocusWithinProperty.cs
- HttpGetProtocolReflector.cs
- ChannelDispatcherBase.cs
- TimeSpanSecondsConverter.cs
- IOThreadTimer.cs
- CalendarAutoFormat.cs
- RuntimeConfigurationRecord.cs
- IndicCharClassifier.cs
- ColorMap.cs