Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / TagPrefixAttribute.cs / 1305376 / TagPrefixAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; using System.ComponentModel; using System.Web.Util; [AttributeUsage(AttributeTargets.Assembly, AllowMultiple=true)] 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.Web.Util; [AttributeUsage(AttributeTargets.Assembly, AllowMultiple=true)] 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
- ObjectDataSourceDisposingEventArgs.cs
- ByteStreamGeometryContext.cs
- DateTimeValueSerializer.cs
- SchemaCollectionPreprocessor.cs
- SystemKeyConverter.cs
- SqlParameterCollection.cs
- ParseChildrenAsPropertiesAttribute.cs
- XmlSchemaDocumentation.cs
- HandledMouseEvent.cs
- SystemParameters.cs
- PropertyDescriptorGridEntry.cs
- TypeInfo.cs
- DataBindingCollection.cs
- DataGridTable.cs
- HatchBrush.cs
- TemplateControl.cs
- SqlDuplicator.cs
- Label.cs
- Stacktrace.cs
- EntryIndex.cs
- BindingCompleteEventArgs.cs
- DataServiceHost.cs
- DelegatedStream.cs
- DataGridViewLayoutData.cs
- UrlAuthFailedErrorFormatter.cs
- ApplicationSettingsBase.cs
- Native.cs
- safemediahandle.cs
- PerformanceCounterPermissionEntry.cs
- OdbcConnectionOpen.cs
- CompletedAsyncResult.cs
- ContainerVisual.cs
- Root.cs
- VideoDrawing.cs
- GetMemberBinder.cs
- DoubleConverter.cs
- DeferredRunTextReference.cs
- RowsCopiedEventArgs.cs
- VisualStyleInformation.cs
- ScrollPattern.cs
- ValueProviderWrapper.cs
- SamlSerializer.cs
- BufferedGraphics.cs
- ToolTip.cs
- MeasurementDCInfo.cs
- DesignerForm.cs
- OrCondition.cs
- SubpageParagraph.cs
- ScriptingJsonSerializationSection.cs
- PasswordDeriveBytes.cs
- sqlser.cs
- DbConnectionFactory.cs
- ViewPort3D.cs
- WindowsStatic.cs
- C14NUtil.cs
- Keywords.cs
- TextureBrush.cs
- HideDisabledControlAdapter.cs
- ISFTagAndGuidCache.cs
- TypedElement.cs
- ApplicationServiceHelper.cs
- HMACSHA1.cs
- AddressingVersion.cs
- MouseGestureValueSerializer.cs
- UnsafeNativeMethodsMilCoreApi.cs
- OdbcFactory.cs
- SchemaCompiler.cs
- StaticFileHandler.cs
- ProfileModule.cs
- __FastResourceComparer.cs
- URLEditor.cs
- AutomationProperty.cs
- SqlWebEventProvider.cs
- VisualStyleTypesAndProperties.cs
- OutputCacheSection.cs
- _BasicClient.cs
- IdentityNotMappedException.cs
- ParameterCollectionEditorForm.cs
- nulltextcontainer.cs
- CompiledXpathExpr.cs
- CertificateManager.cs
- BypassElementCollection.cs
- MarshalDirectiveException.cs
- StringAnimationUsingKeyFrames.cs
- WebPartConnectionCollection.cs
- DockAndAnchorLayout.cs
- XmlSiteMapProvider.cs
- HttpRequestCacheValidator.cs
- RadioButton.cs
- ComponentDispatcherThread.cs
- XmlStreamStore.cs
- DocumentApplicationDocumentViewer.cs
- DataGridViewCellStyleBuilderDialog.cs
- SelectionProviderWrapper.cs
- ByteStream.cs
- ExpressionParser.cs
- PageStatePersister.cs
- LastQueryOperator.cs
- MasterPageBuildProvider.cs
- ApplicationHost.cs