Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CAGDesigner.cs
- ColumnBinding.cs
- DrawTreeNodeEventArgs.cs
- TabletCollection.cs
- ResponseBodyWriter.cs
- MultilineStringConverter.cs
- InputScopeManager.cs
- StringArrayConverter.cs
- Internal.cs
- ConfigErrorGlyph.cs
- RSAPKCS1SignatureFormatter.cs
- CustomLineCap.cs
- ThumbAutomationPeer.cs
- CombinedGeometry.cs
- DiffuseMaterial.cs
- EdmSchemaError.cs
- TextViewSelectionProcessor.cs
- QilReference.cs
- MouseBinding.cs
- ResXFileRef.cs
- OpacityConverter.cs
- CommunicationObjectAbortedException.cs
- EditorPartChrome.cs
- LogArchiveSnapshot.cs
- WorkflowQueueInfo.cs
- ExpressionBindingCollection.cs
- RoleServiceManager.cs
- MarkupWriter.cs
- ExpressionWriter.cs
- Brushes.cs
- FieldMetadata.cs
- FieldToken.cs
- SweepDirectionValidation.cs
- DocumentPageView.cs
- StringWriter.cs
- ToolStripDesignerUtils.cs
- RegistryDataKey.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- VectorCollectionConverter.cs
- ChangeBlockUndoRecord.cs
- WindowsGrip.cs
- ObjectItemConventionAssemblyLoader.cs
- NotSupportedException.cs
- EtwProvider.cs
- TableCell.cs
- CommunicationException.cs
- BaseServiceProvider.cs
- TypedMessageConverter.cs
- DbProviderManifest.cs
- ConsumerConnectionPoint.cs
- TextLine.cs
- TaiwanLunisolarCalendar.cs
- CommonGetThemePartSize.cs
- StyleCollection.cs
- XmlDocument.cs
- WSSecurityOneDotOneSendSecurityHeader.cs
- SizeF.cs
- MetadataUtilsSmi.cs
- Attributes.cs
- WorkflowQueue.cs
- UnionQueryOperator.cs
- SqlEnums.cs
- DispatcherHooks.cs
- ModelUIElement3D.cs
- SQLBytes.cs
- ItemCollection.cs
- GridViewUpdateEventArgs.cs
- InnerItemCollectionView.cs
- _LazyAsyncResult.cs
- FormatterServices.cs
- DataContract.cs
- WSHttpTransportSecurityElement.cs
- SQLBytes.cs
- SoapIgnoreAttribute.cs
- EpmHelper.cs
- RoleGroupCollection.cs
- DynamicObject.cs
- OutputWindow.cs
- MimeWriter.cs
- PropertyChange.cs
- CopyNamespacesAction.cs
- HandleCollector.cs
- CompositeActivityDesigner.cs
- EnumType.cs
- APCustomTypeDescriptor.cs
- PropertyNames.cs
- LinqDataSource.cs
- UnsafeNativeMethods.cs
- WindowsToolbar.cs
- ImplicitInputBrush.cs
- BackEase.cs
- Collection.cs
- LogicalTreeHelper.cs
- XmlWhitespace.cs
- Application.cs
- CommentEmitter.cs
- HttpApplication.cs
- XamlWrappingReader.cs
- MethodCallExpression.cs
- DefaultTextStoreTextComposition.cs