Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Base / System / Windows / Markup / RootNamespaceAttribute.cs / 1 / RootNamespaceAttribute.cs
//----------------------------------------------------------------------------
//
// File: RootNamespaceAttribute.cs
//
// Description:
// RootNamespaceAttribute is an assembly level attribute is used to identify
// the value of the RootNamespace property in a project file.
//
// Copyright (C) 2006 by Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
using System;
namespace System.Windows.Markup
{
///
/// An attribute that identifies the value of the RootNamespace property in a project file.
///
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class RootNamespaceAttribute : Attribute
{
///
/// Creates a new RootNamespaceAttribute that describes the value of the RootNamespace
/// property in a project file.
///
/// The root namespace value
public RootNamespaceAttribute(string nameSpace)
{
_nameSpace = nameSpace;
}
///
/// The root namespace value corresponding to the value of the RootNamespace property in a project file.
///
public string Namespace
{
get { return _nameSpace; }
}
private string _nameSpace;
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ProxyWebPartManager.cs
- EncoderExceptionFallback.cs
- FormatStringEditor.cs
- DataGridViewMethods.cs
- SerialPort.cs
- XmlILAnnotation.cs
- DropTarget.cs
- ImpersonateTokenRef.cs
- VarInfo.cs
- ActiveXSerializer.cs
- SwitchLevelAttribute.cs
- EventLogConfiguration.cs
- NamespaceCollection.cs
- ControlAdapter.cs
- SqlVisitor.cs
- AssemblyContextControlItem.cs
- HttpContextBase.cs
- Vector3DKeyFrameCollection.cs
- ModifierKeysConverter.cs
- ItemCheckEvent.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- RadioButton.cs
- SafeReversePInvokeHandle.cs
- Convert.cs
- FloaterBaseParagraph.cs
- CharConverter.cs
- XmlEncodedRawTextWriter.cs
- File.cs
- Point3DIndependentAnimationStorage.cs
- SafeNativeMemoryHandle.cs
- OpacityConverter.cs
- PromptEventArgs.cs
- LinqDataSourceView.cs
- AbsoluteQuery.cs
- DeviceFilterDictionary.cs
- SignatureToken.cs
- AutomationTextAttribute.cs
- WebPartConnectionsConnectVerb.cs
- WindowsListViewItemStartMenu.cs
- RegexRunnerFactory.cs
- LinqExpressionNormalizer.cs
- DataGridViewAutoSizeModeEventArgs.cs
- WebBrowserSiteBase.cs
- VisualStateManager.cs
- DownloadProgressEventArgs.cs
- ArrayConverter.cs
- UIPropertyMetadata.cs
- BrowsableAttribute.cs
- WindowsFont.cs
- DataGridViewCellEventArgs.cs
- ClientSettingsSection.cs
- PrintPreviewControl.cs
- ElementProxy.cs
- NameValueSectionHandler.cs
- SessionEndingEventArgs.cs
- SystemIPInterfaceProperties.cs
- ContractComponent.cs
- XmlEntityReference.cs
- WarningException.cs
- CriticalExceptions.cs
- DataServiceBuildProvider.cs
- MaskedTextBox.cs
- MSAANativeProvider.cs
- CompilerErrorCollection.cs
- RegexMatchCollection.cs
- ColorAnimationBase.cs
- CaseInsensitiveHashCodeProvider.cs
- ToolStripPanelRenderEventArgs.cs
- ZipIOExtraFieldElement.cs
- PageDeviceFont.cs
- PasswordPropertyTextAttribute.cs
- BuildProvidersCompiler.cs
- FormatStringEditor.cs
- AutomationPropertyChangedEventArgs.cs
- ColorConvertedBitmapExtension.cs
- AesCryptoServiceProvider.cs
- StylusPointProperties.cs
- DataGridViewCellCollection.cs
- EmptyCollection.cs
- CheckBoxFlatAdapter.cs
- XamlUtilities.cs
- TableLayoutCellPaintEventArgs.cs
- EnumerableRowCollectionExtensions.cs
- TemplateBindingExpressionConverter.cs
- MasterPageBuildProvider.cs
- QuaternionAnimation.cs
- URLString.cs
- SessionSwitchEventArgs.cs
- SBCSCodePageEncoding.cs
- EnvelopedPkcs7.cs
- ScriptControlManager.cs
- XmlSchemaValidationException.cs
- ColorAnimationUsingKeyFrames.cs
- PhysicalAddress.cs
- ToolStripItemRenderEventArgs.cs
- StoreItemCollection.cs
- QilInvokeLateBound.cs
- DataShape.cs
- ProviderException.cs
- SafeLocalMemHandle.cs