Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DiscoveryClientChannelFactory.cs
- Scene3D.cs
- DetailsViewAutoFormat.cs
- OleDbParameter.cs
- HatchBrush.cs
- ContractNamespaceAttribute.cs
- StyleCollection.cs
- ChtmlFormAdapter.cs
- CommentEmitter.cs
- TableItemStyle.cs
- BuiltInExpr.cs
- SessionStateUtil.cs
- DataGridItemEventArgs.cs
- TypeDescriptor.cs
- OleDbRowUpdatedEvent.cs
- PersistenceProviderFactory.cs
- SlotInfo.cs
- NativeMethodsOther.cs
- TimeSpanMinutesConverter.cs
- CharacterHit.cs
- ComboBoxAutomationPeer.cs
- UnsafeNativeMethods.cs
- C14NUtil.cs
- PrimitiveList.cs
- QueryExpression.cs
- InvalidCommandTreeException.cs
- XmlCharCheckingWriter.cs
- ExpressionWriter.cs
- UniqueEventHelper.cs
- SecurityContextSecurityTokenParameters.cs
- WebUtil.cs
- ProviderManager.cs
- LayoutEditorPart.cs
- Image.cs
- SchemaLookupTable.cs
- ImportException.cs
- Cell.cs
- QueryMath.cs
- Int64Storage.cs
- SchemaElementDecl.cs
- GeometryGroup.cs
- DispatcherSynchronizationContext.cs
- XsltConvert.cs
- FloaterParagraph.cs
- Attributes.cs
- DataIdProcessor.cs
- Profiler.cs
- DistributedTransactionPermission.cs
- TargetException.cs
- ArgumentNullException.cs
- ThicknessAnimation.cs
- ReplacementText.cs
- SynchronizationContext.cs
- WhiteSpaceTrimStringConverter.cs
- KeyValueConfigurationCollection.cs
- versioninfo.cs
- TypedColumnHandler.cs
- ListBox.cs
- Rijndael.cs
- XmlSerializerFactory.cs
- ResizeBehavior.cs
- RequestCachingSection.cs
- XmlDataSource.cs
- XsltLibrary.cs
- FormsAuthenticationTicket.cs
- ListCollectionView.cs
- OptimisticConcurrencyException.cs
- NumberSubstitution.cs
- DoubleUtil.cs
- TraceEventCache.cs
- GPRECT.cs
- XmlDocumentType.cs
- ImageBrush.cs
- MouseActionValueSerializer.cs
- UriTemplateTableMatchCandidate.cs
- SingleStorage.cs
- PersistChildrenAttribute.cs
- MatrixConverter.cs
- ResourceContainer.cs
- LateBoundBitmapDecoder.cs
- TypeBrowser.xaml.cs
- precedingquery.cs
- ReadOnlyDataSourceView.cs
- StringFreezingAttribute.cs
- MatchingStyle.cs
- WindowsToolbarItemAsMenuItem.cs
- ScriptingJsonSerializationSection.cs
- SliderAutomationPeer.cs
- CancellationHandlerDesigner.cs
- AssociationEndMember.cs
- PatternMatcher.cs
- OracleDataAdapter.cs
- WebPartConnection.cs
- InputGestureCollection.cs
- WaitHandle.cs
- UIntPtr.cs
- MembershipSection.cs
- DeadCharTextComposition.cs
- XamlReaderHelper.cs
- LinearQuaternionKeyFrame.cs