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
- OracleConnectionFactory.cs
- RemoteWebConfigurationHostServer.cs
- BamlMapTable.cs
- StrokeCollection2.cs
- DesignerAttribute.cs
- StorageComplexTypeMapping.cs
- SmiEventSink_Default.cs
- WebPartConnectionsConfigureVerb.cs
- CodeTypeConstructor.cs
- SpanIndex.cs
- ConfigXmlWhitespace.cs
- StructuralObject.cs
- FieldBuilder.cs
- BehaviorService.cs
- XPathNavigator.cs
- CodeGenerator.cs
- IOException.cs
- MappingModelBuildProvider.cs
- TimeoutHelper.cs
- DbParameterHelper.cs
- XmlQualifiedName.cs
- StringInfo.cs
- CodeNamespaceCollection.cs
- WithStatement.cs
- EntityModelBuildProvider.cs
- Pool.cs
- EditingScopeUndoUnit.cs
- Material.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- Vector3D.cs
- PageCatalogPart.cs
- DataStorage.cs
- DrawingContextWalker.cs
- WorkerRequest.cs
- TypeBinaryExpression.cs
- Script.cs
- Rect3D.cs
- SEHException.cs
- WSDualHttpSecurity.cs
- CommandLineParser.cs
- KeyFrames.cs
- ApplicationSettingsBase.cs
- HttpInputStream.cs
- EmitterCache.cs
- CultureSpecificStringDictionary.cs
- FormConverter.cs
- XsdCachingReader.cs
- LicenseContext.cs
- XmlSchemaSearchPattern.cs
- DocumentPaginator.cs
- TemplateComponentConnector.cs
- ISCIIEncoding.cs
- CommonObjectSecurity.cs
- CounterCreationDataCollection.cs
- InvalidEnumArgumentException.cs
- ControlCollection.cs
- SemanticResultKey.cs
- FormsAuthenticationUser.cs
- UpdatePanel.cs
- DesignerMetadata.cs
- RenderOptions.cs
- ConfigurationSettings.cs
- DesignOnlyAttribute.cs
- UInt64Storage.cs
- StrokeDescriptor.cs
- MemberExpression.cs
- TableCellCollection.cs
- LocalBuilder.cs
- TextMetrics.cs
- HitTestParameters3D.cs
- ApplicationInfo.cs
- StylusPointPropertyId.cs
- FontFamily.cs
- ConfigUtil.cs
- WebSysDisplayNameAttribute.cs
- RequestQueryProcessor.cs
- CodeEventReferenceExpression.cs
- AutomationPattern.cs
- SoapFault.cs
- DynamicRenderer.cs
- TreeNodeConverter.cs
- UriSection.cs
- cryptoapiTransform.cs
- RewritingProcessor.cs
- HostingPreferredMapPath.cs
- TransformDescriptor.cs
- Root.cs
- BitmapDecoder.cs
- GlobalProxySelection.cs
- DesignerAdapterAttribute.cs
- PageThemeCodeDomTreeGenerator.cs
- BamlMapTable.cs
- SemanticResultKey.cs
- EventlogProvider.cs
- TargetException.cs
- HtmlSelect.cs
- ZipIOExtraField.cs
- WorkItem.cs
- MbpInfo.cs
- ToolboxItem.cs