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
- ImpersonateTokenRef.cs
- CompiledXpathExpr.cs
- ProtocolsConfigurationHandler.cs
- ConnectionOrientedTransportBindingElement.cs
- DynamicValueConverter.cs
- TdsParserHelperClasses.cs
- activationcontext.cs
- UmAlQuraCalendar.cs
- SelectedDatesCollection.cs
- SHA512Managed.cs
- SignatureConfirmationElement.cs
- SecurityPolicySection.cs
- TextElementEditingBehaviorAttribute.cs
- DatasetMethodGenerator.cs
- ExtendedPropertyCollection.cs
- XmlCodeExporter.cs
- GPRECT.cs
- QueryOperationResponseOfT.cs
- FigureHelper.cs
- PropertyEntry.cs
- httpstaticobjectscollection.cs
- VirtualPathExtension.cs
- SEHException.cs
- TypeConverterHelper.cs
- CommandField.cs
- ExpressionBuilderCollection.cs
- ImageBrush.cs
- tooltip.cs
- ThousandthOfEmRealDoubles.cs
- TextRangeEditTables.cs
- XmlHierarchyData.cs
- RtfFormatStack.cs
- CDSCollectionETWBCLProvider.cs
- Rectangle.cs
- ServicePointManagerElement.cs
- ChildDocumentBlock.cs
- PaintValueEventArgs.cs
- BitmapEffectState.cs
- BindingOperations.cs
- RuleElement.cs
- SingleTagSectionHandler.cs
- EventLogEntryCollection.cs
- TransformerInfo.cs
- InvalidPrinterException.cs
- RadioButtonRenderer.cs
- Binding.cs
- ExpressionEvaluator.cs
- MultiTrigger.cs
- TextTreeInsertElementUndoUnit.cs
- AuthorizationRule.cs
- GridViewCancelEditEventArgs.cs
- InteropBitmapSource.cs
- SchemaNotation.cs
- HtmlButton.cs
- WindowVisualStateTracker.cs
- TripleDES.cs
- IBuiltInEvidence.cs
- DiscoveryClientElement.cs
- XPathChildIterator.cs
- XamlTypeMapperSchemaContext.cs
- DataRecordInfo.cs
- Or.cs
- StreamAsIStream.cs
- StorageSetMapping.cs
- WsatAdminException.cs
- RenderOptions.cs
- TreePrinter.cs
- ServicePointManager.cs
- RolePrincipal.cs
- DnsPermission.cs
- DataTemplateSelector.cs
- ActiveDocumentEvent.cs
- PerspectiveCamera.cs
- WindowsAltTab.cs
- filewebrequest.cs
- Encoder.cs
- HttpResponse.cs
- RowCache.cs
- MdImport.cs
- Vector3DCollection.cs
- PngBitmapEncoder.cs
- ExceptionCollection.cs
- SiteMapDataSourceView.cs
- FixedStringLookup.cs
- ListViewAutomationPeer.cs
- DBDataPermission.cs
- PathSegment.cs
- SplayTreeNode.cs
- ListBase.cs
- TextureBrush.cs
- HtmlTextViewAdapter.cs
- DescendantQuery.cs
- XmlConvert.cs
- FlowDocumentPage.cs
- DataGridColumn.cs
- StylusCaptureWithinProperty.cs
- XmlSchemaAppInfo.cs
- XmlRawWriterWrapper.cs
- Int64KeyFrameCollection.cs
- TimeSpanStorage.cs