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
- AmbiguousMatchException.cs
- WindowsButton.cs
- securitycriticaldata.cs
- DataServiceException.cs
- XmlUTF8TextReader.cs
- BindingNavigator.cs
- PixelFormats.cs
- ItemsControl.cs
- ScriptResourceInfo.cs
- CatalogPartChrome.cs
- KeyValueSerializer.cs
- Evaluator.cs
- FontConverter.cs
- ItemsPanelTemplate.cs
- CommonDialog.cs
- Column.cs
- Rect3D.cs
- LoginCancelEventArgs.cs
- Italic.cs
- XmlLoader.cs
- OSFeature.cs
- LocalBuilder.cs
- QueryResult.cs
- ShapeTypeface.cs
- TagPrefixInfo.cs
- ObjectAnimationBase.cs
- BlobPersonalizationState.cs
- DockPanel.cs
- TabItem.cs
- NumericUpDown.cs
- RootBrowserWindow.cs
- SystemInfo.cs
- BitmapEffectDrawingContent.cs
- PeerInvitationResponse.cs
- PropertyManager.cs
- Switch.cs
- StringHelper.cs
- SetterBase.cs
- WorkflowTransactionOptions.cs
- ProviderMetadata.cs
- VisualBrush.cs
- ApplicationDirectoryMembershipCondition.cs
- NavigationCommands.cs
- TemplateField.cs
- Single.cs
- ToolBar.cs
- HttpDebugHandler.cs
- DataGrid.cs
- DataSourceGeneratorException.cs
- XmlUtf8RawTextWriter.cs
- ReceiveParametersContent.cs
- Registry.cs
- HttpHandlerActionCollection.cs
- Evidence.cs
- ArrowControl.xaml.cs
- ObjectDataSourceStatusEventArgs.cs
- ProjectionPathBuilder.cs
- EntitySetDataBindingList.cs
- CacheSection.cs
- ClientCultureInfo.cs
- BrowserCapabilitiesCodeGenerator.cs
- GeneralTransformCollection.cs
- SqlComparer.cs
- SetStoryboardSpeedRatio.cs
- WebPartEditorOkVerb.cs
- DateTimeValueSerializer.cs
- XmlSchemaSimpleContentRestriction.cs
- GiveFeedbackEvent.cs
- AccessViolationException.cs
- RelationshipConverter.cs
- SqlInfoMessageEvent.cs
- PropertyMappingExceptionEventArgs.cs
- PanelDesigner.cs
- StylusEventArgs.cs
- SystemUdpStatistics.cs
- InstanceKeyCompleteException.cs
- TypedAsyncResult.cs
- DESCryptoServiceProvider.cs
- DecimalAnimation.cs
- RangeBaseAutomationPeer.cs
- Constants.cs
- RuntimeComponentFilter.cs
- Debug.cs
- TimeoutValidationAttribute.cs
- LocalizationComments.cs
- HelpProvider.cs
- Control.cs
- ObjectStateManager.cs
- PerformanceCounter.cs
- ObjectQueryState.cs
- ContextMenu.cs
- TextPointerBase.cs
- KeyGestureValueSerializer.cs
- ImageSourceConverter.cs
- EastAsianLunisolarCalendar.cs
- SecurityKeyIdentifier.cs
- SrgsItemList.cs
- EntityTransaction.cs
- ObjectViewFactory.cs
- WebServiceReceiveDesigner.cs