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
- LogicalExpr.cs
- ConnectionPoint.cs
- ModelFunctionTypeElement.cs
- RowVisual.cs
- XmlSerializerFactory.cs
- FacetChecker.cs
- HitTestDrawingContextWalker.cs
- InkPresenterAutomationPeer.cs
- IsolatedStorageFileStream.cs
- TypeConverterValueSerializer.cs
- PositiveTimeSpanValidatorAttribute.cs
- BatchParser.cs
- _SSPISessionCache.cs
- DBPropSet.cs
- CompilerTypeWithParams.cs
- DescriptionAttribute.cs
- PermissionSet.cs
- EdmEntityTypeAttribute.cs
- PolicyException.cs
- ToolBar.cs
- _SslState.cs
- BrowserCapabilitiesFactoryBase.cs
- SoapEnumAttribute.cs
- NotFiniteNumberException.cs
- SchemaNames.cs
- ResourcePermissionBase.cs
- VirtualPath.cs
- OrderedDictionary.cs
- EncryptedKeyHashIdentifierClause.cs
- ConnectorEditor.cs
- StringCollection.cs
- EntityTransaction.cs
- WmfPlaceableFileHeader.cs
- SymLanguageType.cs
- Win32Native.cs
- TextDocumentView.cs
- ViewRendering.cs
- XPathNodeList.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- ShapingEngine.cs
- Attributes.cs
- SqlTypeSystemProvider.cs
- TreeView.cs
- TriggerAction.cs
- PlanCompiler.cs
- FontCollection.cs
- safesecurityhelperavalon.cs
- ReferenceEqualityComparer.cs
- ObjectAnimationUsingKeyFrames.cs
- InternalPermissions.cs
- ComPlusServiceLoader.cs
- SqlBulkCopy.cs
- GridViewRow.cs
- HtmlEmptyTagControlBuilder.cs
- DataGridLinkButton.cs
- ResourceExpressionEditor.cs
- Deflater.cs
- TypeToTreeConverter.cs
- MinMaxParagraphWidth.cs
- CurrencyWrapper.cs
- Simplifier.cs
- PropertyInformation.cs
- DataPagerField.cs
- AccessibleObject.cs
- FilterableAttribute.cs
- PositiveTimeSpanValidator.cs
- TraceHelpers.cs
- Vector3DCollectionConverter.cs
- Properties.cs
- SlipBehavior.cs
- Geometry.cs
- OleCmdHelper.cs
- SafeLibraryHandle.cs
- DataServiceProcessingPipeline.cs
- TransactionManagerProxy.cs
- DefaultBindingPropertyAttribute.cs
- XmlSchemaSimpleContent.cs
- DrawingContextDrawingContextWalker.cs
- SqlConnectionFactory.cs
- HttpCacheVaryByContentEncodings.cs
- LinqToSqlWrapper.cs
- ManagedFilter.cs
- WebPermission.cs
- LocalValueEnumerator.cs
- ColorInterpolationModeValidation.cs
- UnsafeNativeMethods.cs
- ChineseLunisolarCalendar.cs
- IList.cs
- ComponentCodeDomSerializer.cs
- DataControlFieldCollection.cs
- CodeGeneratorOptions.cs
- XamlContextStack.cs
- WpfXamlMember.cs
- Msec.cs
- WindowsBrush.cs
- PersianCalendar.cs
- xml.cs
- DbMetaDataFactory.cs
- Substitution.cs
- WebHttpEndpointElement.cs