Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- Atom10ItemFormatter.cs
- TableFieldsEditor.cs
- MappingModelBuildProvider.cs
- QueryCursorEventArgs.cs
- ForeignKeyConstraint.cs
- ErrorView.xaml.cs
- TableProviderWrapper.cs
- LassoHelper.cs
- HostExecutionContextManager.cs
- InfoCardBaseException.cs
- XmlSchemaAnnotation.cs
- ToolBarButtonClickEvent.cs
- CurrentTimeZone.cs
- PromptEventArgs.cs
- TextEditorCopyPaste.cs
- ConsoleCancelEventArgs.cs
- StreamProxy.cs
- EditingMode.cs
- SqlProviderManifest.cs
- WindowHelperService.cs
- MultipartContentParser.cs
- PropertyGridView.cs
- VSWCFServiceContractGenerator.cs
- Int64Storage.cs
- securitycriticaldataClass.cs
- XPathDocumentNavigator.cs
- SortedList.cs
- ConfigurationPropertyAttribute.cs
- MenuCommand.cs
- DesignerWebPartChrome.cs
- ObjectStorage.cs
- DesignSurface.cs
- SoapSchemaMember.cs
- SqlCacheDependencyDatabaseCollection.cs
- BypassElement.cs
- MouseWheelEventArgs.cs
- MimeObjectFactory.cs
- UnsafeNetInfoNativeMethods.cs
- SurrogateChar.cs
- PointCollection.cs
- SelectedGridItemChangedEvent.cs
- DesignerActionGlyph.cs
- RuleRefElement.cs
- XmlNodeWriter.cs
- Convert.cs
- x509store.cs
- PathFigure.cs
- DBSqlParser.cs
- PtsContext.cs
- TextElementEnumerator.cs
- SequenceNumber.cs
- TextDecorationCollection.cs
- PanelStyle.cs
- SqlConnectionPoolGroupProviderInfo.cs
- PriorityBinding.cs
- StorageMappingItemCollection.cs
- KeysConverter.cs
- LineGeometry.cs
- EncoderExceptionFallback.cs
- ThreadPool.cs
- XmlDocumentSerializer.cs
- UnmanagedMemoryStreamWrapper.cs
- EventSourceCreationData.cs
- TemplateControlCodeDomTreeGenerator.cs
- ValidationManager.cs
- SystemResourceKey.cs
- processwaithandle.cs
- Size.cs
- _AutoWebProxyScriptEngine.cs
- DynamicValidatorEventArgs.cs
- RestHandler.cs
- OdbcStatementHandle.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- OpenTypeMethods.cs
- TabControlCancelEvent.cs
- TargetControlTypeCache.cs
- HttpRequestTraceRecord.cs
- WebDescriptionAttribute.cs
- MetadataExchangeBindings.cs
- ComplexBindingPropertiesAttribute.cs
- SchemaTableOptionalColumn.cs
- SelectedGridItemChangedEvent.cs
- IndependentAnimationStorage.cs
- FullTrustAssembliesSection.cs
- FileSystemInfo.cs
- EventLogEntry.cs
- SqlBuffer.cs
- KeyPressEvent.cs
- XmlSchemaCollection.cs
- EntitySetDataBindingList.cs
- backend.cs
- BrowserTree.cs
- RSAOAEPKeyExchangeDeformatter.cs
- ZipIOExtraFieldPaddingElement.cs
- SourceElementsCollection.cs
- GridViewColumnCollectionChangedEventArgs.cs
- DetailsViewUpdateEventArgs.cs
- Types.cs
- ImageSource.cs
- TextChangedEventArgs.cs