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
- StylusTip.cs
- CodeAttributeArgumentCollection.cs
- unsafeIndexingFilterStream.cs
- CompleteWizardStep.cs
- typedescriptorpermissionattribute.cs
- BuilderPropertyEntry.cs
- DNS.cs
- Page.cs
- FixedHyperLink.cs
- MultiSelectRootGridEntry.cs
- ObjectDataSourceMethodEventArgs.cs
- EventLogInternal.cs
- HtmlInputRadioButton.cs
- CriticalFinalizerObject.cs
- DispatchRuntime.cs
- TemplateManager.cs
- ObjectPersistData.cs
- ToolConsole.cs
- LeftCellWrapper.cs
- TimeoutValidationAttribute.cs
- COM2ExtendedTypeConverter.cs
- IgnoreFlushAndCloseStream.cs
- QueryContinueDragEvent.cs
- InspectionWorker.cs
- WindowsFormsHostPropertyMap.cs
- NavigatingCancelEventArgs.cs
- Logging.cs
- WorkflowServiceBehavior.cs
- InternalConfigHost.cs
- ScrollItemPattern.cs
- MouseButtonEventArgs.cs
- UpdateException.cs
- DebuggerAttributes.cs
- SamlAdvice.cs
- Assign.cs
- GridSplitter.cs
- DataProtection.cs
- ListItemConverter.cs
- SqlDependencyListener.cs
- SqlCharStream.cs
- sapiproxy.cs
- TextView.cs
- DrawingContextWalker.cs
- SourceItem.cs
- TrackingExtract.cs
- CallbackValidatorAttribute.cs
- ScaleTransform.cs
- ButtonPopupAdapter.cs
- ParenthesizePropertyNameAttribute.cs
- AuthenticationModulesSection.cs
- Size3D.cs
- QueryStringConverter.cs
- ImageCodecInfoPrivate.cs
- FormViewPagerRow.cs
- HtmlPageAdapter.cs
- SafeCryptoKeyHandle.cs
- Header.cs
- IOException.cs
- FormsAuthenticationEventArgs.cs
- DataGridLength.cs
- ElementHost.cs
- VarInfo.cs
- BitmapVisualManager.cs
- BackStopAuthenticationModule.cs
- PathFigureCollectionValueSerializer.cs
- CodeStatementCollection.cs
- ItemType.cs
- MultiAsyncResult.cs
- BamlCollectionHolder.cs
- BitmapFrameDecode.cs
- NameObjectCollectionBase.cs
- ValidationErrorEventArgs.cs
- DynamicFilterExpression.cs
- DocumentViewerBaseAutomationPeer.cs
- DataControlButton.cs
- TemplateAction.cs
- SafeProcessHandle.cs
- RemotingServices.cs
- SecurityBindingElement.cs
- XPathNodeIterator.cs
- SafePointer.cs
- BindingExpressionBase.cs
- RecognizedPhrase.cs
- SimpleWebHandlerParser.cs
- DependencyPropertyKind.cs
- PageCodeDomTreeGenerator.cs
- PermissionToken.cs
- WmiPutTraceRecord.cs
- Token.cs
- CommonRemoteMemoryBlock.cs
- ObjectContextServiceProvider.cs
- XmlCDATASection.cs
- StrokeIntersection.cs
- UnsafeNativeMethodsPenimc.cs
- MenuItemStyleCollection.cs
- FormatterServices.cs
- WindowsAltTab.cs
- CalendarTable.cs
- TypeLibConverter.cs
- EmbossBitmapEffect.cs