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
- DeleteHelper.cs
- UtilityExtension.cs
- IPCCacheManager.cs
- ExpressionBuilder.cs
- FilteredSchemaElementLookUpTable.cs
- ServerValidateEventArgs.cs
- WindowsFormsSectionHandler.cs
- SystemEvents.cs
- UriSectionReader.cs
- Assert.cs
- DropDownHolder.cs
- RegistrationServices.cs
- ObjectDataSourceEventArgs.cs
- UnsafeNativeMethodsPenimc.cs
- ManipulationStartingEventArgs.cs
- FirstMatchCodeGroup.cs
- CLRBindingWorker.cs
- ConnectionStringsSection.cs
- CodeMemberProperty.cs
- StorageInfo.cs
- DataAccessException.cs
- ValueTypeFixupInfo.cs
- SafeArrayRankMismatchException.cs
- IisTraceWebEventProvider.cs
- HttpConfigurationSystem.cs
- CodeGeneratorOptions.cs
- CachingHintValidation.cs
- ColorPalette.cs
- XmlSchemaObjectTable.cs
- ImportedNamespaceContextItem.cs
- ErrorHandler.cs
- MembershipUser.cs
- ScrollBarRenderer.cs
- PropertyPushdownHelper.cs
- RegexRunner.cs
- odbcmetadatacolumnnames.cs
- WaitHandle.cs
- PassportAuthentication.cs
- SessionSymmetricTransportSecurityProtocolFactory.cs
- SemanticAnalyzer.cs
- StatusBarDrawItemEvent.cs
- SiteMapDataSourceView.cs
- RegexGroup.cs
- _ConnectOverlappedAsyncResult.cs
- StylusEventArgs.cs
- precedingsibling.cs
- Operators.cs
- OdbcErrorCollection.cs
- TypeDescriptionProvider.cs
- BindingExpressionUncommonField.cs
- DataObjectMethodAttribute.cs
- FormsAuthentication.cs
- XmlSchemaInferenceException.cs
- ResourceManager.cs
- NotifyParentPropertyAttribute.cs
- StoreItemCollection.cs
- BaseDataList.cs
- XPathDocumentNavigator.cs
- OracleException.cs
- GenericTypeParameterBuilder.cs
- BooleanFunctions.cs
- MembershipSection.cs
- PerformanceCounterPermissionEntry.cs
- LicenseException.cs
- InstallerTypeAttribute.cs
- Control.cs
- _TLSstream.cs
- SerTrace.cs
- ThemeConfigurationDialog.cs
- SerializationObjectManager.cs
- ipaddressinformationcollection.cs
- NullableBoolConverter.cs
- TextTreeTextNode.cs
- RadioButtonFlatAdapter.cs
- TextCharacters.cs
- XmlSerializerVersionAttribute.cs
- WebServiceMethodData.cs
- Command.cs
- UriSection.cs
- XhtmlBasicTextViewAdapter.cs
- SafeFreeMibTable.cs
- UserMapPath.cs
- DataControlFieldHeaderCell.cs
- IndexerNameAttribute.cs
- _ChunkParse.cs
- Substitution.cs
- HoistedLocals.cs
- FlowDocumentPaginator.cs
- CompatibleComparer.cs
- NetPeerTcpBindingCollectionElement.cs
- OdbcInfoMessageEvent.cs
- PageSettings.cs
- PreloadHost.cs
- LazyTextWriterCreator.cs
- IISUnsafeMethods.cs
- VerificationException.cs
- BaseConfigurationRecord.cs
- X509IssuerSerialKeyIdentifierClause.cs
- SizeConverter.cs
- DataContext.cs