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
- CompilationRelaxations.cs
- PrinterUnitConvert.cs
- FixedTextView.cs
- BaseResourcesBuildProvider.cs
- _TLSstream.cs
- OracleLob.cs
- GenericWebPart.cs
- SqlNodeAnnotations.cs
- SamlAction.cs
- Currency.cs
- HttpEncoder.cs
- WCFServiceClientProxyGenerator.cs
- StrokeNodeEnumerator.cs
- CodeCommentStatementCollection.cs
- SequenceFullException.cs
- HybridDictionary.cs
- Internal.cs
- SwitchElementsCollection.cs
- InputProcessorProfilesLoader.cs
- PtsContext.cs
- AlignmentYValidation.cs
- HandlerFactoryCache.cs
- NoPersistProperty.cs
- BaseUriHelper.cs
- BaseDataListComponentEditor.cs
- TextPointer.cs
- Int32AnimationUsingKeyFrames.cs
- documentation.cs
- SignatureDescription.cs
- MergePropertyDescriptor.cs
- TagMapInfo.cs
- InputBinding.cs
- ItemCollection.cs
- SafeCryptHandles.cs
- DataGridViewTextBoxColumn.cs
- CodeMethodInvokeExpression.cs
- ZoneButton.cs
- RawKeyboardInputReport.cs
- ParseHttpDate.cs
- PanelDesigner.cs
- WinEventWrap.cs
- HtmlInputImage.cs
- CallbackHandler.cs
- shaperfactoryquerycachekey.cs
- DbDataSourceEnumerator.cs
- Panel.cs
- WindowsMenu.cs
- ImageButton.cs
- WindowsGraphics.cs
- Vector3D.cs
- DatatypeImplementation.cs
- Transform.cs
- RandomNumberGenerator.cs
- Int32EqualityComparer.cs
- SizeIndependentAnimationStorage.cs
- CodeIdentifiers.cs
- CustomErrorCollection.cs
- Point.cs
- XmlReaderSettings.cs
- CmsUtils.cs
- AutomationInteropProvider.cs
- ViewManager.cs
- LogFlushAsyncResult.cs
- TextAnchor.cs
- PrintingPermissionAttribute.cs
- XmlSerializationReader.cs
- PlatformNotSupportedException.cs
- ModifierKeysValueSerializer.cs
- RTLAwareMessageBox.cs
- TableRowCollection.cs
- ComponentGuaranteesAttribute.cs
- ListView.cs
- TemplateKeyConverter.cs
- HtmlInputReset.cs
- SkewTransform.cs
- LassoHelper.cs
- XmlLinkedNode.cs
- CorrelationManager.cs
- LineUtil.cs
- GroupBoxAutomationPeer.cs
- ListCommandEventArgs.cs
- ButtonFieldBase.cs
- IItemContainerGenerator.cs
- Rule.cs
- MenuItemStyle.cs
- RangeEnumerable.cs
- CommentAction.cs
- BindingNavigatorDesigner.cs
- EntityCodeGenerator.cs
- BinaryCommonClasses.cs
- PathStreamGeometryContext.cs
- recordstatescratchpad.cs
- TypeExtension.cs
- Size.cs
- XmlEntity.cs
- RtfToXamlReader.cs
- ValueOfAction.cs
- SubstitutionList.cs
- AutomationIdentifier.cs
- Deserializer.cs