Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ResourceManager.cs
- AsyncDataRequest.cs
- RenderTargetBitmap.cs
- ServiceObjectContainer.cs
- SizeLimitedCache.cs
- XPathAncestorQuery.cs
- CommentAction.cs
- CornerRadiusConverter.cs
- Thread.cs
- SafeViewOfFileHandle.cs
- RtfControlWordInfo.cs
- ClientProxyGenerator.cs
- ValueUnavailableException.cs
- SqlBuffer.cs
- ConfigurationConverterBase.cs
- ProtectedConfiguration.cs
- SplashScreen.cs
- FormatConvertedBitmap.cs
- WebRequestModuleElement.cs
- ListViewDeletedEventArgs.cs
- SortAction.cs
- ADRoleFactoryConfiguration.cs
- SystemIPv4InterfaceProperties.cs
- CoreChannel.cs
- DocumentGridPage.cs
- Regex.cs
- DispatchChannelSink.cs
- SafeReversePInvokeHandle.cs
- BrushValueSerializer.cs
- PagerSettings.cs
- DispatcherSynchronizationContext.cs
- MulticastDelegate.cs
- SafeThemeHandle.cs
- LinkedList.cs
- CodeDelegateCreateExpression.cs
- GACMembershipCondition.cs
- NonParentingControl.cs
- BaseAutoFormat.cs
- TypeConverter.cs
- StylusCollection.cs
- _TransmitFileOverlappedAsyncResult.cs
- Tokenizer.cs
- ValidatingReaderNodeData.cs
- ReadOnlyDictionary.cs
- XmlChildNodes.cs
- ApplicationManager.cs
- DataGridCommandEventArgs.cs
- _SSPISessionCache.cs
- HtmlInputFile.cs
- ProtocolViolationException.cs
- DelayDesigner.cs
- CachingHintValidation.cs
- CodeNamespace.cs
- MD5.cs
- TextAnchor.cs
- DataTablePropertyDescriptor.cs
- RangeExpression.cs
- ByteViewer.cs
- OracleConnectionStringBuilder.cs
- ListItemCollection.cs
- CompositeControlDesigner.cs
- EFTableProvider.cs
- _Semaphore.cs
- TypeUnloadedException.cs
- IdentityValidationException.cs
- GeneratedCodeAttribute.cs
- CodeLabeledStatement.cs
- ToolbarAUtomationPeer.cs
- XmlNavigatorStack.cs
- TreeViewCancelEvent.cs
- DataViewListener.cs
- InvokePattern.cs
- HostedTransportConfigurationManager.cs
- KeyValuePair.cs
- CodePageEncoding.cs
- SchemaSetCompiler.cs
- TextEditorMouse.cs
- TextServicesPropertyRanges.cs
- DbParameterCollectionHelper.cs
- ArgumentOutOfRangeException.cs
- LicenseProviderAttribute.cs
- StatusBarPanelClickEvent.cs
- __ConsoleStream.cs
- ObjectStateManager.cs
- RequestCacheValidator.cs
- RequestCacheManager.cs
- TemplateContainer.cs
- TraceContextEventArgs.cs
- InstancePersistenceContext.cs
- DataBindingCollection.cs
- ContentElementAutomationPeer.cs
- EditorZoneBase.cs
- HandlerWithFactory.cs
- WebControlsSection.cs
- MissingSatelliteAssemblyException.cs
- SizeAnimationClockResource.cs
- XmlReflectionImporter.cs
- TreeNode.cs
- PersonalizationDictionary.cs
- ListParaClient.cs