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
- HttpWriter.cs
- Compress.cs
- _ListenerResponseStream.cs
- xmlfixedPageInfo.cs
- XamlUtilities.cs
- ResXBuildProvider.cs
- Journal.cs
- CoTaskMemSafeHandle.cs
- ClientUrlResolverWrapper.cs
- TdsEnums.cs
- _CommandStream.cs
- DataStreamFromComStream.cs
- TextBoxView.cs
- RawTextInputReport.cs
- RadioButtonList.cs
- EventDrivenDesigner.cs
- XmlText.cs
- FrameworkContentElement.cs
- RedBlackList.cs
- ButtonRenderer.cs
- XmlException.cs
- DocumentsTrace.cs
- PackageStore.cs
- PropertyChangingEventArgs.cs
- TemplatePagerField.cs
- MethodBuilder.cs
- SafeReadContext.cs
- RichTextBoxAutomationPeer.cs
- QuaternionKeyFrameCollection.cs
- PauseStoryboard.cs
- DependentList.cs
- ButtonBaseAdapter.cs
- ProfileManager.cs
- FaultReasonText.cs
- DiscardableAttribute.cs
- IriParsingElement.cs
- EventsTab.cs
- RectAnimationBase.cs
- Font.cs
- CategoriesDocument.cs
- CodeAttributeDeclaration.cs
- Debug.cs
- LogManagementAsyncResult.cs
- EncryptedKeyHashIdentifierClause.cs
- Graphics.cs
- ContentTextAutomationPeer.cs
- DialogWindow.cs
- MissingFieldException.cs
- ExpressionPrefixAttribute.cs
- Attributes.cs
- XhtmlBasicSelectionListAdapter.cs
- DataGrid.cs
- IsolatedStorageFile.cs
- TableLayoutSettingsTypeConverter.cs
- DecoderBestFitFallback.cs
- _BufferOffsetSize.cs
- WebCodeGenerator.cs
- URI.cs
- WebPartTransformerCollection.cs
- TabPanel.cs
- CodeGen.cs
- DbParameterHelper.cs
- SqlXml.cs
- WeakHashtable.cs
- UInt16Converter.cs
- FileEnumerator.cs
- KnownBoxes.cs
- WebPartCollection.cs
- _ListenerRequestStream.cs
- TrackingParameters.cs
- ReturnType.cs
- TypedColumnHandler.cs
- SoundPlayer.cs
- BitStream.cs
- SafeReadContext.cs
- CompositeActivityTypeDescriptorProvider.cs
- XmlComplianceUtil.cs
- SvcMapFileSerializer.cs
- EdmItemCollection.cs
- OdbcHandle.cs
- TypeResolver.cs
- VisualBrush.cs
- AudioDeviceOut.cs
- XmlILConstructAnalyzer.cs
- SQLDoubleStorage.cs
- AnimationStorage.cs
- InfoCardServiceInstallComponent.cs
- SocketConnection.cs
- CompilerScope.cs
- SendKeys.cs
- SelectionListDesigner.cs
- DeleteCardRequest.cs
- VirtualizedCellInfoCollection.cs
- FaultContext.cs
- StrokeCollectionDefaultValueFactory.cs
- HttpRawResponse.cs
- RenderContext.cs
- SendMailErrorEventArgs.cs
- DesignerVerbCollection.cs
- SHA256.cs