AutomationPatternInfo.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / UIAutomation / UIAutomationClient / MS / Internal / Automation / AutomationPatternInfo.cs / 1 / AutomationPatternInfo.cs

                            //---------------------------------------------------------------------------- 
//
// 
//    Copyright (C) Microsoft Corporation.  All rights reserved.
//  
//
// 
// Description: class containing information about an automation property 
//
// History: 
//  06/04/2003 : BrendanM Ported to WCP
//
//---------------------------------------------------------------------------
 
using System;
using System.Windows.Automation; 
 
namespace MS.Internal.Automation
{ 
    // struct containing information about an automation property
    internal delegate object WrapObjectClientSide(AutomationElement el, SafePatternHandle hPattern, bool cached);

    internal class AutomationPatternInfo 
    {
        //----------------------------------------------------- 
        // 
        //  Constructors
        // 
        //-----------------------------------------------------

        #region Constructors
 
        public AutomationPatternInfo(
            AutomationPattern id, 
            AutomationProperty [ ] properties, 
            WrapObjectClientSide clientSideWrapper )
        { 
            _id = id;
            _properties = properties;
            _clientSideWrapper = clientSideWrapper;
        } 

        #endregion Constructors 
 
        //------------------------------------------------------
        // 
        //  Internal Properties
        //
        //-----------------------------------------------------
 
        #region Internal Properties
 
        internal AutomationPattern         ID                    { get { return _id; } } 
        internal AutomationProperty [ ]    Properties            { get { return _properties; } }
        internal WrapObjectClientSide      ClientSideWrapper     { get { return _clientSideWrapper; } } 

        #endregion Internal Properties

 
        //------------------------------------------------------
        // 
        //  Private Fields 
        //
        //------------------------------------------------------ 

        #region Private Fields

        private AutomationPattern _id; 
        private AutomationProperty [ ] _properties;
        private WrapObjectClientSide _clientSideWrapper; 
 
        #endregion Private Fields
    } 
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
//---------------------------------------------------------------------------- 
//
// 
//    Copyright (C) Microsoft Corporation.  All rights reserved.
//  
//
// 
// Description: class containing information about an automation property 
//
// History: 
//  06/04/2003 : BrendanM Ported to WCP
//
//---------------------------------------------------------------------------
 
using System;
using System.Windows.Automation; 
 
namespace MS.Internal.Automation
{ 
    // struct containing information about an automation property
    internal delegate object WrapObjectClientSide(AutomationElement el, SafePatternHandle hPattern, bool cached);

    internal class AutomationPatternInfo 
    {
        //----------------------------------------------------- 
        // 
        //  Constructors
        // 
        //-----------------------------------------------------

        #region Constructors
 
        public AutomationPatternInfo(
            AutomationPattern id, 
            AutomationProperty [ ] properties, 
            WrapObjectClientSide clientSideWrapper )
        { 
            _id = id;
            _properties = properties;
            _clientSideWrapper = clientSideWrapper;
        } 

        #endregion Constructors 
 
        //------------------------------------------------------
        // 
        //  Internal Properties
        //
        //-----------------------------------------------------
 
        #region Internal Properties
 
        internal AutomationPattern         ID                    { get { return _id; } } 
        internal AutomationProperty [ ]    Properties            { get { return _properties; } }
        internal WrapObjectClientSide      ClientSideWrapper     { get { return _clientSideWrapper; } } 

        #endregion Internal Properties

 
        //------------------------------------------------------
        // 
        //  Private Fields 
        //
        //------------------------------------------------------ 

        #region Private Fields

        private AutomationPattern _id; 
        private AutomationProperty [ ] _properties;
        private WrapObjectClientSide _clientSideWrapper; 
 
        #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