Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. //------------------------------------------------------------------------------ //// 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WinFormsUtils.cs
- CustomWebEventKey.cs
- ProcessModule.cs
- CompModSwitches.cs
- QueryTreeBuilder.cs
- SafeRightsManagementQueryHandle.cs
- Hyperlink.cs
- shaperfactoryquerycacheentry.cs
- LingerOption.cs
- XmlSubtreeReader.cs
- LoginUtil.cs
- TdsParameterSetter.cs
- TcpAppDomainProtocolHandler.cs
- ListParaClient.cs
- DocumentViewerBase.cs
- UnsafeMethods.cs
- PassportAuthenticationEventArgs.cs
- FixedSOMSemanticBox.cs
- ExtendedPropertyCollection.cs
- XamlWrappingReader.cs
- HebrewNumber.cs
- DefaultTypeArgumentAttribute.cs
- HostingEnvironmentException.cs
- ConfigurationSectionHelper.cs
- ConfigXmlAttribute.cs
- Vector.cs
- MimeMapping.cs
- CommonDialog.cs
- Stopwatch.cs
- RegexMatchCollection.cs
- GuidTagList.cs
- DataBindEngine.cs
- DiscoveryReference.cs
- UndoManager.cs
- HtmlInputText.cs
- DataGridViewControlCollection.cs
- DataServiceQueryException.cs
- SymmetricKeyWrap.cs
- RIPEMD160.cs
- HttpApplication.cs
- Interlocked.cs
- Brush.cs
- Selector.cs
- XNodeValidator.cs
- RegexGroup.cs
- FontFamily.cs
- DesignerActionPanel.cs
- DataGrid.cs
- CodeDirectiveCollection.cs
- PropertyOverridesDialog.cs
- metadatamappinghashervisitor.cs
- ControlTemplate.cs
- Configuration.cs
- LoginName.cs
- FrameworkElementFactoryMarkupObject.cs
- NavigationPropertyEmitter.cs
- PersonalizationProviderCollection.cs
- ControllableStoryboardAction.cs
- Matrix3D.cs
- TextTreePropertyUndoUnit.cs
- OletxTransactionHeader.cs
- TaskSchedulerException.cs
- MetadataCacheItem.cs
- PropertyCondition.cs
- StandardOleMarshalObject.cs
- SQLDecimalStorage.cs
- Point3DCollection.cs
- SettingsPropertyNotFoundException.cs
- StructuralCache.cs
- ObjectSet.cs
- VerticalAlignConverter.cs
- sqlcontext.cs
- BindToObject.cs
- BreakRecordTable.cs
- DataGridItemCollection.cs
- ClipboardData.cs
- FigureParagraph.cs
- DataTableExtensions.cs
- UIElementPropertyUndoUnit.cs
- ValueSerializerAttribute.cs
- IConvertible.cs
- ProgressBar.cs
- NameTable.cs
- COM2IDispatchConverter.cs
- DataRow.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- CalculatedColumn.cs
- COM2FontConverter.cs
- ReverseInheritProperty.cs
- TypeDependencyAttribute.cs
- CodeDomLoader.cs
- ReadContentAsBinaryHelper.cs
- CodeTypeDelegate.cs
- ContentIterators.cs
- DesignTimeTemplateParser.cs
- PageAdapter.cs
- TemplatingOptionsDialog.cs
- SizeAnimation.cs
- CompilerGeneratedAttribute.cs
- InputScope.cs