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
- NativeMethods.cs
- Lock.cs
- MarkupExtensionSerializer.cs
- TextStore.cs
- StringValidatorAttribute.cs
- ExecutorLocksHeldException.cs
- MatrixAnimationUsingPath.cs
- OleDbError.cs
- UnsafeNativeMethods.cs
- ToolStripScrollButton.cs
- SBCSCodePageEncoding.cs
- ServicePointManager.cs
- CustomGrammar.cs
- JoinElimination.cs
- TextRangeBase.cs
- Delay.cs
- RenderingBiasValidation.cs
- SQLGuid.cs
- Window.cs
- DateBoldEvent.cs
- LicFileLicenseProvider.cs
- entityreference_tresulttype.cs
- CodeSubDirectoriesCollection.cs
- DataGridViewColumnTypePicker.cs
- SmiRecordBuffer.cs
- AllMembershipCondition.cs
- Rfc2898DeriveBytes.cs
- AbsoluteQuery.cs
- Win32KeyboardDevice.cs
- TabControl.cs
- parserscommon.cs
- DelegateInArgument.cs
- TextViewBase.cs
- MaterialGroup.cs
- SymbolPair.cs
- StrokeRenderer.cs
- RegexTree.cs
- MissingSatelliteAssemblyException.cs
- Compilation.cs
- WindowsFormsSynchronizationContext.cs
- ReliableRequestSessionChannel.cs
- COM2ComponentEditor.cs
- TrackingLocationCollection.cs
- ExpressionVisitor.cs
- SystemUnicastIPAddressInformation.cs
- TableItemStyle.cs
- SecurityTokenResolver.cs
- PrintPageEvent.cs
- VectorAnimationBase.cs
- VisualStyleElement.cs
- RequestContext.cs
- Permission.cs
- Graph.cs
- WindowAutomationPeer.cs
- DBBindings.cs
- ZipIOExtraFieldZip64Element.cs
- XmlILIndex.cs
- ProcessModelSection.cs
- SqlRewriteScalarSubqueries.cs
- EdmSchemaError.cs
- MailMessage.cs
- DataGridViewRow.cs
- ObjectSpanRewriter.cs
- AttributeUsageAttribute.cs
- ThreadLocal.cs
- VirtualizingStackPanel.cs
- ContainerAction.cs
- SlotInfo.cs
- HostingEnvironmentWrapper.cs
- PropertyTabAttribute.cs
- SourceChangedEventArgs.cs
- AbstractSvcMapFileLoader.cs
- DateTimePicker.cs
- Scalars.cs
- ConstraintCollection.cs
- BindingEntityInfo.cs
- XmlFormatReaderGenerator.cs
- BindingExpressionUncommonField.cs
- CFGGrammar.cs
- ToolbarAUtomationPeer.cs
- Context.cs
- InkCanvasFeedbackAdorner.cs
- HtmlInputFile.cs
- FloaterParagraph.cs
- CatalogPartChrome.cs
- StreamHelper.cs
- CodeTypeReferenceExpression.cs
- HttpCacheVary.cs
- CodeTypeReferenceCollection.cs
- FormsAuthentication.cs
- MembershipSection.cs
- FixedDocumentSequencePaginator.cs
- LayoutSettings.cs
- RawStylusSystemGestureInputReport.cs
- OutputCache.cs
- filewebrequest.cs
- GreaterThanOrEqual.cs
- DeflateStream.cs
- TemplateXamlParser.cs
- WebBrowserNavigatedEventHandler.cs