Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Core / CSharp / 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.Diagnostics;
using System.Windows;
using System.Windows.Media;
using System.Windows.Automation;
using System.Windows.Automation.Peers;
namespace MS.Internal.Automation
{
// struct containing information about an automation pattern
internal delegate object WrapObject( AutomationPeer peer, object iface, IntPtr hwnd );
internal class AutomationPatternInfo
{
//-----------------------------------------------------
//
// Constructors
//
//-----------------------------------------------------
#region Constructors
internal AutomationPatternInfo(
AutomationPattern id,
WrapObject wcpWrapper)
{
_id = id;
_wcpWrapper = wcpWrapper;
}
#endregion Constructors
//------------------------------------------------------
//
// Internal Properties
//
//-----------------------------------------------------
#region Internal Properties
internal AutomationPattern ID { get { return _id; } }
internal WrapObject WcpWrapper { get { return _wcpWrapper; } }
#endregion Internal Properties
//------------------------------------------------------
//
// Private Fields
//
//------------------------------------------------------
#region Private Fields
private AutomationPattern _id;
private WrapObject _wcpWrapper;
#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.Diagnostics;
using System.Windows;
using System.Windows.Media;
using System.Windows.Automation;
using System.Windows.Automation.Peers;
namespace MS.Internal.Automation
{
// struct containing information about an automation pattern
internal delegate object WrapObject( AutomationPeer peer, object iface, IntPtr hwnd );
internal class AutomationPatternInfo
{
//-----------------------------------------------------
//
// Constructors
//
//-----------------------------------------------------
#region Constructors
internal AutomationPatternInfo(
AutomationPattern id,
WrapObject wcpWrapper)
{
_id = id;
_wcpWrapper = wcpWrapper;
}
#endregion Constructors
//------------------------------------------------------
//
// Internal Properties
//
//-----------------------------------------------------
#region Internal Properties
internal AutomationPattern ID { get { return _id; } }
internal WrapObject WcpWrapper { get { return _wcpWrapper; } }
#endregion Internal Properties
//------------------------------------------------------
//
// Private Fields
//
//------------------------------------------------------
#region Private Fields
private AutomationPattern _id;
private WrapObject _wcpWrapper;
#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
- LockedActivityGlyph.cs
- PerformanceCounterPermissionEntry.cs
- VerticalAlignConverter.cs
- ListViewPagedDataSource.cs
- ContainerControl.cs
- NameSpaceExtractor.cs
- MimeTypePropertyAttribute.cs
- SetIterators.cs
- ClientApiGenerator.cs
- SqlReferenceCollection.cs
- PropertyTabChangedEvent.cs
- WorkflowViewManager.cs
- UpdateTracker.cs
- ObjectAnimationBase.cs
- InputEventArgs.cs
- EventPrivateKey.cs
- _HeaderInfo.cs
- StaticSiteMapProvider.cs
- AutoCompleteStringCollection.cs
- FakeModelItemImpl.cs
- FilteredDataSetHelper.cs
- DbDeleteCommandTree.cs
- DataReaderContainer.cs
- SmiRequestExecutor.cs
- DefaultTraceListener.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- smtpconnection.cs
- ScriptingAuthenticationServiceSection.cs
- Tablet.cs
- AsyncCompletedEventArgs.cs
- COM2TypeInfoProcessor.cs
- CodeVariableDeclarationStatement.cs
- ProfileEventArgs.cs
- SchemaInfo.cs
- BindingObserver.cs
- MachineKeySection.cs
- VirtualPathData.cs
- EndpointDesigner.cs
- InitializationEventAttribute.cs
- XmlObjectSerializerWriteContext.cs
- RoutedEventValueSerializer.cs
- VisualBasicReference.cs
- XslException.cs
- Roles.cs
- UnitControl.cs
- LambdaCompiler.Expressions.cs
- BitmapFrame.cs
- MobileSysDescriptionAttribute.cs
- DataMisalignedException.cs
- DesigntimeLicenseContext.cs
- ModuleConfigurationInfo.cs
- safemediahandle.cs
- JoinTreeSlot.cs
- ListMarkerLine.cs
- FormViewInsertEventArgs.cs
- DataPagerCommandEventArgs.cs
- RepeaterItemEventArgs.cs
- SchemaMerger.cs
- GraphicsContainer.cs
- DropTarget.cs
- ExceptionUtil.cs
- RoleGroupCollection.cs
- WindowsProgressbar.cs
- MissingManifestResourceException.cs
- HwndAppCommandInputProvider.cs
- TraceHandler.cs
- _NtlmClient.cs
- ManagedWndProcTracker.cs
- TextBlock.cs
- ContainerParaClient.cs
- securitycriticaldataformultiplegetandset.cs
- RepeaterItemCollection.cs
- StringOutput.cs
- BinaryExpression.cs
- DrawTreeNodeEventArgs.cs
- PropertyTabAttribute.cs
- HtmlCalendarAdapter.cs
- ObjectQueryProvider.cs
- RenderTargetBitmap.cs
- InvalidWMPVersionException.cs
- ToolStripDropDownButton.cs
- HyperLinkField.cs
- HostedController.cs
- DataTableTypeConverter.cs
- DataGridRowsPresenter.cs
- DiscoveryClientBindingElement.cs
- XsltLibrary.cs
- DateTimeOffsetConverter.cs
- XslAst.cs
- DynamicQueryStringParameter.cs
- SQLInt16Storage.cs
- UnhandledExceptionEventArgs.cs
- TraceSection.cs
- MethodSet.cs
- DispatcherEventArgs.cs
- ThemeableAttribute.cs
- Repeater.cs
- WsatAdminException.cs
- PingOptions.cs
- SqlUserDefinedTypeAttribute.cs