Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / 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.
//----------------------------------------------------------------------------
//
// 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
- WindowsAuthenticationModule.cs
- ResourceManager.cs
- SourceLineInfo.cs
- ZoomPercentageConverter.cs
- WebPartUtil.cs
- BrowsableAttribute.cs
- ExtendedPropertyCollection.cs
- IntersectQueryOperator.cs
- URLMembershipCondition.cs
- typedescriptorpermission.cs
- MethodToken.cs
- OleDbConnectionInternal.cs
- Walker.cs
- _ConnectStream.cs
- TargetPerspective.cs
- TypeDescriptor.cs
- __Error.cs
- EntitySetBaseCollection.cs
- WinCategoryAttribute.cs
- Graphics.cs
- LoginUtil.cs
- Point3DAnimationBase.cs
- _OverlappedAsyncResult.cs
- IResourceProvider.cs
- Section.cs
- TableLayoutCellPaintEventArgs.cs
- SQLDecimalStorage.cs
- ManagementBaseObject.cs
- BinaryUtilClasses.cs
- OSFeature.cs
- RequiredFieldValidator.cs
- StylusCaptureWithinProperty.cs
- UnmanagedMemoryStreamWrapper.cs
- NonSerializedAttribute.cs
- XPathArrayIterator.cs
- XsltException.cs
- FrameSecurityDescriptor.cs
- Wrapper.cs
- documentation.cs
- SendingRequestEventArgs.cs
- GeneralTransform3D.cs
- ECDiffieHellmanPublicKey.cs
- ObjectListFieldCollection.cs
- DesignerValidatorAdapter.cs
- Token.cs
- EntityContainerEntitySetDefiningQuery.cs
- FamilyMap.cs
- TempFiles.cs
- ServerIdentity.cs
- HtmlInputReset.cs
- DeviceContext2.cs
- VideoDrawing.cs
- WorkflowItemPresenter.cs
- DataBindEngine.cs
- CopyOfAction.cs
- ErrorRuntimeConfig.cs
- HttpHeaderCollection.cs
- PersonalizationAdministration.cs
- Single.cs
- IApplicationTrustManager.cs
- MultiView.cs
- XmlProcessingInstruction.cs
- SingleResultAttribute.cs
- HttpValueCollection.cs
- Hash.cs
- BrowserCapabilitiesCodeGenerator.cs
- Registry.cs
- FocusChangedEventArgs.cs
- UInt32.cs
- RegexCode.cs
- MediaEntryAttribute.cs
- ToolStripItemClickedEventArgs.cs
- DbParameterHelper.cs
- _ConnectionGroup.cs
- OdbcCommandBuilder.cs
- DatePickerTextBox.cs
- StrongNamePublicKeyBlob.cs
- CommandHelper.cs
- TextRangeEditLists.cs
- StateDesignerConnector.cs
- RedBlackList.cs
- DefinitionUpdate.cs
- QueryPageSettingsEventArgs.cs
- CodeTryCatchFinallyStatement.cs
- WebPartAuthorizationEventArgs.cs
- HtmlInputCheckBox.cs
- UntypedNullExpression.cs
- CutCopyPasteHelper.cs
- HttpClientCertificate.cs
- PersonalizationProviderCollection.cs
- TextEffectCollection.cs
- Overlapped.cs
- FileIOPermission.cs
- SupportingTokenParameters.cs
- ValidatingPropertiesEventArgs.cs
- AutomationIdentifier.cs
- PublisherIdentityPermission.cs
- MulticastOption.cs
- XmlNodeWriter.cs
- DiffuseMaterial.cs