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
- SapiRecoContext.cs
- HttpVersion.cs
- TableLayoutRowStyleCollection.cs
- AdministrationHelpers.cs
- XmlCustomFormatter.cs
- ToolStripGripRenderEventArgs.cs
- _FixedSizeReader.cs
- MissingMemberException.cs
- PrinterUnitConvert.cs
- FunctionQuery.cs
- SecurityProtocolCorrelationState.cs
- RepeaterItemEventArgs.cs
- TextTabProperties.cs
- FlowLayout.cs
- SID.cs
- ContentOnlyMessage.cs
- ConfigurationException.cs
- GACMembershipCondition.cs
- UnsafeNativeMethodsTablet.cs
- ContentFileHelper.cs
- SHA256Managed.cs
- ArrayTypeMismatchException.cs
- XmlSchemaSimpleContentRestriction.cs
- StateItem.cs
- ApplicationServiceHelper.cs
- MetadataArtifactLoaderComposite.cs
- _SpnDictionary.cs
- ApplicationFileParser.cs
- CounterCreationDataCollection.cs
- MailWebEventProvider.cs
- InstanceDescriptor.cs
- DesignerSerializerAttribute.cs
- AuthenticationServiceManager.cs
- TextProperties.cs
- ResetableIterator.cs
- AttributeEmitter.cs
- RtfToXamlReader.cs
- PartitionResolver.cs
- DataGridCellInfo.cs
- XmlTypeMapping.cs
- BindingListCollectionView.cs
- XmlCodeExporter.cs
- StronglyTypedResourceBuilder.cs
- RemoteWebConfigurationHostServer.cs
- NameService.cs
- TypeDelegator.cs
- BasicViewGenerator.cs
- ZoneButton.cs
- FolderBrowserDialog.cs
- BypassElementCollection.cs
- XmlCharacterData.cs
- DefaultHttpHandler.cs
- EntityViewGenerator.cs
- UIElement3D.cs
- SQLUtility.cs
- Pointer.cs
- WebPartRestoreVerb.cs
- QilDataSource.cs
- TableStyle.cs
- WindowsFormsLinkLabel.cs
- DateTimeValueSerializerContext.cs
- SerializationSectionGroup.cs
- EntityCollection.cs
- GreenMethods.cs
- RandomNumberGenerator.cs
- DBConnectionString.cs
- ServiceChannelProxy.cs
- QilStrConcat.cs
- CodeMethodInvokeExpression.cs
- PenContexts.cs
- AdCreatedEventArgs.cs
- EventWaitHandleSecurity.cs
- MinMaxParagraphWidth.cs
- Regex.cs
- MouseActionValueSerializer.cs
- EventLogException.cs
- PropertyDescriptorGridEntry.cs
- CodeSubDirectory.cs
- FactoryRecord.cs
- MasterPage.cs
- SecurityTokenAuthenticator.cs
- QueryOutputWriter.cs
- WebResourceUtil.cs
- ProofTokenCryptoHandle.cs
- mediaeventshelper.cs
- XmlAttributeAttribute.cs
- TreeNodeClickEventArgs.cs
- TrackingStringDictionary.cs
- ObjectDataSourceMethodEventArgs.cs
- ComboBoxAutomationPeer.cs
- SecurityDescriptor.cs
- InternalReceiveMessage.cs
- OracleDataAdapter.cs
- CallbackValidator.cs
- TypeConverterHelper.cs
- WebPartsSection.cs
- ObjectCache.cs
- VirtualPathProvider.cs
- LookupNode.cs
- MultipleViewPattern.cs