Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- SqlSelectClauseBuilder.cs
- DispatcherSynchronizationContext.cs
- AsynchronousChannelMergeEnumerator.cs
- Cursor.cs
- PieceNameHelper.cs
- DbBuffer.cs
- _Win32.cs
- IPAddressCollection.cs
- TagPrefixInfo.cs
- SqlConnectionPoolGroupProviderInfo.cs
- PersistenceProviderDirectory.cs
- ComponentEvent.cs
- XmlFormatWriterGenerator.cs
- TypeDelegator.cs
- NetStream.cs
- XhtmlMobileTextWriter.cs
- ControlBindingsCollection.cs
- NumericUpDown.cs
- StylusLogic.cs
- HierarchicalDataTemplate.cs
- UserUseLicenseDictionaryLoader.cs
- TextBreakpoint.cs
- CultureTable.cs
- SimpleTextLine.cs
- PackagePartCollection.cs
- DataViewListener.cs
- CodeTypeOfExpression.cs
- ProxyWebPart.cs
- ListItemCollection.cs
- MenuItemBindingCollection.cs
- CompiledRegexRunner.cs
- Visual3D.cs
- XmlBoundElement.cs
- ScriptBehaviorDescriptor.cs
- PolicyStatement.cs
- DesignerHost.cs
- DisplayMemberTemplateSelector.cs
- RealizationDrawingContextWalker.cs
- ConfigXmlSignificantWhitespace.cs
- WebPartCatalogCloseVerb.cs
- ElementMarkupObject.cs
- IntSecurity.cs
- LayoutTable.cs
- MsmqTransportSecurityElement.cs
- XmlSchemaAttributeGroup.cs
- RegexGroup.cs
- ImpersonationOption.cs
- KeyManager.cs
- SqlMultiplexer.cs
- ImplicitInputBrush.cs
- SQLChars.cs
- ServerValidateEventArgs.cs
- HostedElements.cs
- SafeHandles.cs
- LinkLabel.cs
- EmbeddedMailObject.cs
- ColumnProvider.cs
- IconHelper.cs
- MetadataCollection.cs
- MemberDomainMap.cs
- XamlToRtfWriter.cs
- SettingsPropertyNotFoundException.cs
- CuspData.cs
- IMembershipProvider.cs
- TextRangeEdit.cs
- HeaderedContentControl.cs
- GroupItem.cs
- RawStylusSystemGestureInputReport.cs
- SubMenuStyle.cs
- ExcludePathInfo.cs
- TextTreeTextElementNode.cs
- ConfigsHelper.cs
- XmlSchemaSubstitutionGroup.cs
- CssTextWriter.cs
- VirtualizingStackPanel.cs
- ToolboxComponentsCreatedEventArgs.cs
- RestHandler.cs
- CapabilitiesAssignment.cs
- ListSourceHelper.cs
- ToolStripItemEventArgs.cs
- TextPatternIdentifiers.cs
- ScrollEvent.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- ScriptManager.cs
- Button.cs
- XslAst.cs
- WebServiceBindingAttribute.cs
- WebPartDisplayMode.cs
- Triplet.cs
- ConnectivityStatus.cs
- SqlNode.cs
- TemplatePropertyEntry.cs
- StorageMappingItemCollection.cs
- GcHandle.cs
- TemplateEditingVerb.cs
- TdsParser.cs
- MultilineStringEditor.cs
- OrderByExpression.cs
- CmsInterop.cs
- ConstructorBuilder.cs