Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- CapiSafeHandles.cs
- SignatureDescription.cs
- TemplatePropertyEntry.cs
- ElasticEase.cs
- FileUtil.cs
- EventEntry.cs
- XmlILConstructAnalyzer.cs
- ControlCachePolicy.cs
- StyleTypedPropertyAttribute.cs
- EtwTrace.cs
- PropertyRef.cs
- NullableConverter.cs
- SqlMetaData.cs
- SingletonInstanceContextProvider.cs
- CallbackValidator.cs
- TypeLibConverter.cs
- DockPanel.cs
- SettingsBindableAttribute.cs
- DSASignatureFormatter.cs
- TransformConverter.cs
- ListViewGroup.cs
- x509store.cs
- SystemKeyConverter.cs
- WindowsListViewItem.cs
- __ConsoleStream.cs
- UnsafeNativeMethods.cs
- DataGridViewCellStyleChangedEventArgs.cs
- SQLBytesStorage.cs
- TemplateBindingExtension.cs
- MailFileEditor.cs
- MergablePropertyAttribute.cs
- SerialErrors.cs
- COM2IProvidePropertyBuilderHandler.cs
- Win32Exception.cs
- ContainerParaClient.cs
- SingleTagSectionHandler.cs
- MailSettingsSection.cs
- QueryCursorEventArgs.cs
- sqlmetadatafactory.cs
- MouseActionConverter.cs
- ErrorHandlerModule.cs
- StorageConditionPropertyMapping.cs
- FormViewCommandEventArgs.cs
- BitVector32.cs
- WebPartManagerInternals.cs
- ViewStateModeByIdAttribute.cs
- HMAC.cs
- SwitchAttribute.cs
- EventWaitHandleSecurity.cs
- ContentValidator.cs
- CrossSiteScriptingValidation.cs
- WindowsFormsLinkLabel.cs
- PropertyValueChangedEvent.cs
- DispatchOperation.cs
- TrustLevel.cs
- BroadcastEventHelper.cs
- WindowsAuthenticationModule.cs
- CompilerWrapper.cs
- SourceCollection.cs
- BrowserCapabilitiesCompiler.cs
- DependentList.cs
- OrElse.cs
- IpcChannel.cs
- ISFTagAndGuidCache.cs
- ValidationRule.cs
- SortDescriptionCollection.cs
- SourceInterpreter.cs
- Transform3DGroup.cs
- MobileUITypeEditor.cs
- OrderByLifter.cs
- CommandManager.cs
- SmiMetaDataProperty.cs
- PriorityQueue.cs
- IPAddressCollection.cs
- CodeArrayCreateExpression.cs
- BoolExpression.cs
- DataControlExtensions.cs
- ReadOnlyNameValueCollection.cs
- StrokeSerializer.cs
- ThicknessConverter.cs
- CursorConverter.cs
- StorageInfo.cs
- BookmarkManager.cs
- TemplatedAdorner.cs
- Cursor.cs
- CaseInsensitiveComparer.cs
- SqlExpander.cs
- NavigationPropertySingletonExpression.cs
- CodeTryCatchFinallyStatement.cs
- ColumnClickEvent.cs
- TrustManager.cs
- AjaxFrameworkAssemblyAttribute.cs
- WebPartRestoreVerb.cs
- EntityDataSourceUtil.cs
- CodeIterationStatement.cs
- Pipe.cs
- TargetParameterCountException.cs
- ThemeDictionaryExtension.cs
- ContextCorrelationInitializer.cs
- SubMenuStyle.cs