Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextElementEditingBehaviorAttribute.cs
- SiblingIterators.cs
- WebBrowserProgressChangedEventHandler.cs
- KeyPullup.cs
- ArrayWithOffset.cs
- WebPartCatalogAddVerb.cs
- RelatedView.cs
- __ComObject.cs
- PanelContainerDesigner.cs
- InfoCardAsymmetricCrypto.cs
- HitTestDrawingContextWalker.cs
- OleDbReferenceCollection.cs
- VectorCollection.cs
- CompilerErrorCollection.cs
- GroupDescription.cs
- NavigatingCancelEventArgs.cs
- MaskPropertyEditor.cs
- ProcessInfo.cs
- OutputCacheEntry.cs
- ScriptResourceInfo.cs
- MarkupCompilePass2.cs
- LocationReferenceValue.cs
- CorrelationManager.cs
- SoapException.cs
- RuleSetDialog.cs
- ServiceOperationInfoTypeConverter.cs
- StsCommunicationException.cs
- WindowsListView.cs
- LocatorPart.cs
- Trigger.cs
- CodeFieldReferenceExpression.cs
- HttpCapabilitiesBase.cs
- BCLDebug.cs
- Privilege.cs
- RtfToXamlReader.cs
- ContextMenuAutomationPeer.cs
- BaseCodeDomTreeGenerator.cs
- QilLiteral.cs
- RTLAwareMessageBox.cs
- ObjectViewListener.cs
- XdrBuilder.cs
- PriorityQueue.cs
- RSAOAEPKeyExchangeFormatter.cs
- LinqDataSourceSelectEventArgs.cs
- WindowsListViewGroupHelper.cs
- WorkflowInstanceProvider.cs
- EdmItemError.cs
- DataControlImageButton.cs
- UserControlFileEditor.cs
- WebSysDescriptionAttribute.cs
- ValidatingPropertiesEventArgs.cs
- NamespaceQuery.cs
- PropagatorResult.cs
- Underline.cs
- VariantWrapper.cs
- ZipPackagePart.cs
- AnnotationAuthorChangedEventArgs.cs
- ServiceEndpointAssociationProvider.cs
- DnsPermission.cs
- MenuItemAutomationPeer.cs
- DataTableNewRowEvent.cs
- PerfCounterSection.cs
- DesignOnlyAttribute.cs
- ContainerAction.cs
- ObjectNavigationPropertyMapping.cs
- CollectionBuilder.cs
- WindowsTitleBar.cs
- GenerateScriptTypeAttribute.cs
- ObjectManager.cs
- XmlCharacterData.cs
- RSACryptoServiceProvider.cs
- NamespaceList.cs
- ServiceOperation.cs
- UserControlCodeDomTreeGenerator.cs
- StylusPlugin.cs
- CheckBoxRenderer.cs
- ErrorRuntimeConfig.cs
- FlatButtonAppearance.cs
- XsltQilFactory.cs
- DuplicateWaitObjectException.cs
- QueryableDataSourceView.cs
- LogicalExpressionEditor.cs
- ScrollBarRenderer.cs
- Canvas.cs
- CultureSpecificCharacterBufferRange.cs
- ParameterRetriever.cs
- NavigationService.cs
- isolationinterop.cs
- SyndicationContent.cs
- ProvidersHelper.cs
- RectangleGeometry.cs
- DataGridViewSelectedRowCollection.cs
- BinaryCommonClasses.cs
- CodeLinePragma.cs
- AnyReturnReader.cs
- AcceleratedTokenProvider.cs
- __Filters.cs
- NegotiationTokenAuthenticatorState.cs
- ReflectionPermission.cs
- SelectionHighlightInfo.cs