Code:
/ DotNET / DotNET / 8.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
- DependencyPropertyKind.cs
- WebBrowserSiteBase.cs
- ReadOnlyPropertyMetadata.cs
- WinFormsSecurity.cs
- InputChannelAcceptor.cs
- ClonableStack.cs
- EmptyReadOnlyDictionaryInternal.cs
- TextContainerChangeEventArgs.cs
- PageAdapter.cs
- HtmlHead.cs
- ConvertersCollection.cs
- AnimationClock.cs
- TransformationRules.cs
- Message.cs
- sqlcontext.cs
- DataRowChangeEvent.cs
- AudioException.cs
- ServiceMetadataContractBehavior.cs
- GeneratedCodeAttribute.cs
- RowType.cs
- COM2EnumConverter.cs
- BaseAddressPrefixFilterElement.cs
- DbMetaDataColumnNames.cs
- WinCategoryAttribute.cs
- CalendarModeChangedEventArgs.cs
- SecurityPermission.cs
- FontDriver.cs
- Propagator.cs
- ServiceKnownTypeAttribute.cs
- TemplateXamlParser.cs
- WorkflowEventArgs.cs
- SectionVisual.cs
- NonParentingControl.cs
- ToolStripCodeDomSerializer.cs
- CreateParams.cs
- SemanticValue.cs
- XmlCharType.cs
- NullableDoubleSumAggregationOperator.cs
- InstanceDataCollectionCollection.cs
- AuthenticodeSignatureInformation.cs
- SpoolingTask.cs
- OleDbRowUpdatedEvent.cs
- DateTimeValueSerializer.cs
- FontSizeConverter.cs
- PointAnimation.cs
- IResourceProvider.cs
- EventSchemaTraceListener.cs
- ExpressionBuilderCollection.cs
- SiteIdentityPermission.cs
- RootBrowserWindowProxy.cs
- ImmutableAssemblyCacheEntry.cs
- HebrewNumber.cs
- StorageComplexTypeMapping.cs
- XmlSchemaAttribute.cs
- ColumnPropertiesGroup.cs
- HttpBrowserCapabilitiesBase.cs
- MatrixAnimationUsingKeyFrames.cs
- BasePattern.cs
- userdatakeys.cs
- CodeLabeledStatement.cs
- EmbeddedObject.cs
- ValidationRuleCollection.cs
- ObservableCollection.cs
- DataRelation.cs
- DocumentViewerBaseAutomationPeer.cs
- ComUdtElement.cs
- FormsAuthenticationModule.cs
- FixedDocument.cs
- SQLInt32.cs
- StructuredTypeInfo.cs
- XmlWrappingWriter.cs
- RtfFormatStack.cs
- InputLanguage.cs
- CompilerScopeManager.cs
- MsmqBindingElementBase.cs
- XmlNotation.cs
- XamlTypeMapper.cs
- TwoPhaseCommit.cs
- TransferRequestHandler.cs
- JsonEnumDataContract.cs
- Focus.cs
- UpdatePanelTriggerCollection.cs
- ExeContext.cs
- ToolBarTray.cs
- EntityPropertyMappingAttribute.cs
- LogicalMethodInfo.cs
- AppSettingsExpressionBuilder.cs
- InvokeMethod.cs
- PeerApplicationLaunchInfo.cs
- MLangCodePageEncoding.cs
- WebDisplayNameAttribute.cs
- DNS.cs
- X509PeerCertificateAuthentication.cs
- InputManager.cs
- MDIControlStrip.cs
- ScrollableControl.cs
- EntityDataSourceValidationException.cs
- MulticastNotSupportedException.cs
- SafeJobHandle.cs
- Error.cs