RootNamespaceAttribute.cs source code in C# .NET

Source code for the .NET framework in C#

                        

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

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK