AutomationAttributeInfo.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / UIAutomation / UIAutomationClient / MS / Internal / Automation / AutomationAttributeInfo.cs / 1305600 / AutomationAttributeInfo.cs

                            //---------------------------------------------------------------------------- 
//
// 
//    Copyright (C) Microsoft Corporation.  All rights reserved.
//  
//
// 
// Description: class containing information about an automation text atibute 
//
//--------------------------------------------------------------------------- 

using System;
using System.Windows.Automation;
using System.Windows.Automation.Text; 

namespace MS.Internal.Automation 
{ 
    // class containing information about an automation property
    internal class AutomationAttributeInfo 
    {
        //-----------------------------------------------------
        //
        //  Constructors 
        //
        //----------------------------------------------------- 
 
        #region Constructors
 
        internal AutomationAttributeInfo(
            AutomationPropertyConverter converter,
            AutomationTextAttribute id,
            Type type 
            )
        { 
            _id = id; 
            _type = type;
            _converter = converter; 
        }

        #endregion Constructors
 
        //------------------------------------------------------
        // 
        //  Internal Properties 
        //
        //----------------------------------------------------- 

        #region Internal Properties

        internal AutomationTextAttribute     ID                { get { return _id; } } 
        internal AutomationPropertyConverter ObjectConverter   { get { return _converter; } }
        internal Type                        Type              { get { return _type; } } 
 
        #endregion Internal Properties
 

        //------------------------------------------------------
        //
        //  Private Fields 
        //
        //------------------------------------------------------ 
 
        #region Private Fields
 
        private AutomationTextAttribute _id;
        private Type _type;
        private AutomationPropertyConverter _converter;
 
        #endregion Private Fields
    } 
} 

// 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