Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- RefreshEventArgs.cs
- EncoderParameters.cs
- DBCommand.cs
- VsPropertyGrid.cs
- QueryCacheManager.cs
- Directory.cs
- DesignerActionPanel.cs
- ComponentCommands.cs
- TextAction.cs
- ServicePoint.cs
- ipaddressinformationcollection.cs
- LZCodec.cs
- ActionFrame.cs
- ValidationEventArgs.cs
- IndexerNameAttribute.cs
- Point3DIndependentAnimationStorage.cs
- ImageCodecInfo.cs
- ReturnType.cs
- Attributes.cs
- MessageEnumerator.cs
- Root.cs
- PlacementWorkspace.cs
- SQLBytes.cs
- PropertyGridEditorPart.cs
- SourceItem.cs
- XPathMessageFilterElementCollection.cs
- QueryPageSettingsEventArgs.cs
- Main.cs
- RecommendedAsConfigurableAttribute.cs
- TransformConverter.cs
- HtmlUtf8RawTextWriter.cs
- UriExt.cs
- WebServiceResponse.cs
- ByteFacetDescriptionElement.cs
- CodeDOMProvider.cs
- HtmlShim.cs
- UnhandledExceptionEventArgs.cs
- XmlWriter.cs
- XhtmlBasicValidatorAdapter.cs
- DiscardableAttribute.cs
- TypeConverterHelper.cs
- PropertyTabChangedEvent.cs
- CreateRefExpr.cs
- Border.cs
- WindowCollection.cs
- SecurityTokenSerializer.cs
- UriTemplatePathSegment.cs
- ProgressBarRenderer.cs
- Visitors.cs
- Attributes.cs
- GraphicsPathIterator.cs
- EntityViewContainer.cs
- Helpers.cs
- ExpressionBuilder.cs
- ResourcePermissionBase.cs
- ManualWorkflowSchedulerService.cs
- FastEncoder.cs
- SqlWebEventProvider.cs
- SpecialFolderEnumConverter.cs
- Scripts.cs
- selecteditemcollection.cs
- EdmSchemaError.cs
- ListViewInsertEventArgs.cs
- DataAccessor.cs
- WhitespaceRule.cs
- basenumberconverter.cs
- WebPartZoneBaseDesigner.cs
- AvTraceDetails.cs
- RealizationDrawingContextWalker.cs
- SchemaElementDecl.cs
- XmlDataContract.cs
- XmlComplianceUtil.cs
- StrokeFIndices.cs
- ThaiBuddhistCalendar.cs
- ByteStorage.cs
- SqlConnectionStringBuilder.cs
- XmlException.cs
- ManipulationPivot.cs
- BamlBinaryReader.cs
- NewExpression.cs
- MsmqIntegrationBindingCollectionElement.cs
- Input.cs
- sqlcontext.cs
- SystemIcmpV6Statistics.cs
- JavaScriptSerializer.cs
- CodeAttachEventStatement.cs
- TextBlock.cs
- InkCanvas.cs
- ValidationPropertyAttribute.cs
- ItemContainerPattern.cs
- InfoCardAsymmetricCrypto.cs
- HyperLinkDesigner.cs
- ToolStripDropTargetManager.cs
- XpsDocumentEvent.cs
- ClockGroup.cs
- SettingsPropertyCollection.cs
- FloatMinMaxAggregationOperator.cs
- TextSelectionHighlightLayer.cs
- OpCodes.cs
- XmlArrayItemAttributes.cs