Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / UIAutomation / UIAutomationClient / MS / Internal / Automation / AutomationPatternInfo.cs / 1305600 / 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

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PolyLineSegment.cs
- SafeFileHandle.cs
- ConfigXmlSignificantWhitespace.cs
- NativeMethods.cs
- MeasureItemEvent.cs
- DateTimeOffset.cs
- XsdDuration.cs
- CalendarDataBindingHandler.cs
- DesignerActionUI.cs
- Number.cs
- HandlerBase.cs
- SchemaDeclBase.cs
- XPathParser.cs
- BuildProviderAppliesToAttribute.cs
- FileLogRecord.cs
- BroadcastEventHelper.cs
- TextRunCache.cs
- InvalidOleVariantTypeException.cs
- ModuleBuilder.cs
- ObjectViewListener.cs
- TextBoxLine.cs
- FormatPage.cs
- Assert.cs
- ReliabilityContractAttribute.cs
- ExpressionCopier.cs
- SoapSchemaImporter.cs
- counter.cs
- DebugController.cs
- WebPartConnectionsCancelVerb.cs
- WebPartConnectionsConnectVerb.cs
- APCustomTypeDescriptor.cs
- ContractAdapter.cs
- TimelineGroup.cs
- QuotedPrintableStream.cs
- SystemTcpStatistics.cs
- LicenseException.cs
- RenderContext.cs
- SqlCrossApplyToCrossJoin.cs
- StringFreezingAttribute.cs
- ImageAttributes.cs
- DocumentPageHost.cs
- TextElement.cs
- DataSourceBooleanViewSchemaConverter.cs
- ConfigurationSettings.cs
- ContentType.cs
- DataServiceRequest.cs
- InvalidDataException.cs
- ToolStripPanelRow.cs
- DataGridRelationshipRow.cs
- IDQuery.cs
- BinaryWriter.cs
- ResourceWriter.cs
- ActiveXHost.cs
- StrokeDescriptor.cs
- LocalizableResourceBuilder.cs
- FileDialogCustomPlace.cs
- Point3DConverter.cs
- NamedPipeChannelFactory.cs
- DefaultPrintController.cs
- GZipStream.cs
- InstanceView.cs
- TrackBarRenderer.cs
- SQLBinary.cs
- PingReply.cs
- SiteOfOriginPart.cs
- Socket.cs
- DbReferenceCollection.cs
- PolicyException.cs
- List.cs
- DatagridviewDisplayedBandsData.cs
- InstallerTypeAttribute.cs
- Point3DIndependentAnimationStorage.cs
- NativeActivity.cs
- WebPartCancelEventArgs.cs
- CustomWebEventKey.cs
- XPathNavigatorKeyComparer.cs
- UriTemplateVariablePathSegment.cs
- CustomValidator.cs
- FillBehavior.cs
- Environment.cs
- ArraySet.cs
- safemediahandle.cs
- Parameter.cs
- SafeNativeMethods.cs
- OracleNumber.cs
- SetterBase.cs
- MulticastNotSupportedException.cs
- CancelEventArgs.cs
- WhitespaceRuleLookup.cs
- HttpServerProtocol.cs
- XmlnsPrefixAttribute.cs
- LocalValueEnumerator.cs
- ListBox.cs
- XmlSchemas.cs
- InkPresenter.cs
- Rectangle.cs
- ComboBox.cs
- DataBoundControlAdapter.cs
- TableStyle.cs
- ToolStripGripRenderEventArgs.cs