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
- EndpointPerformanceCounters.cs
- StringTraceRecord.cs
- LazyTextWriterCreator.cs
- TemplateKeyConverter.cs
- WCFModelStrings.Designer.cs
- ByteStream.cs
- IisTraceWebEventProvider.cs
- Encoder.cs
- TemplateXamlParser.cs
- WindowsRebar.cs
- PreservationFileWriter.cs
- PointCollectionConverter.cs
- StylusPointPropertyInfo.cs
- PngBitmapDecoder.cs
- RpcResponse.cs
- CompressionTransform.cs
- TypeUsage.cs
- NopReturnReader.cs
- _Win32.cs
- RoutingEndpointTrait.cs
- AppDomainManager.cs
- ForceCopyBuildProvider.cs
- ProfileEventArgs.cs
- LinkTarget.cs
- DependencyPropertyValueSerializer.cs
- ListManagerBindingsCollection.cs
- EntityDataSourceView.cs
- StreamWithDictionary.cs
- PolyQuadraticBezierSegment.cs
- BidOverLoads.cs
- InputGestureCollection.cs
- SimpleNameService.cs
- KeyboardDevice.cs
- FixUpCollection.cs
- SystemException.cs
- Helpers.cs
- DesignerLinkAdapter.cs
- ProviderIncompatibleException.cs
- GeneralTransformGroup.cs
- httpapplicationstate.cs
- DbProviderFactory.cs
- DefaultBinder.cs
- ServiceObjectContainer.cs
- DrawingAttributes.cs
- TypedElement.cs
- ActivityStateQuery.cs
- ImportContext.cs
- SettingsContext.cs
- SqlSelectStatement.cs
- HttpModulesSection.cs
- ClientSession.cs
- BitmapData.cs
- OleAutBinder.cs
- RawStylusActions.cs
- SqlDataSourceQueryEditorForm.cs
- Baml6Assembly.cs
- log.cs
- FaultPropagationQuery.cs
- XmlBindingWorker.cs
- _SslStream.cs
- XsdDateTime.cs
- Manipulation.cs
- RenderData.cs
- ItemList.cs
- TextRangeAdaptor.cs
- securitymgrsite.cs
- TextClipboardData.cs
- sqlinternaltransaction.cs
- TCPListener.cs
- ObjectNavigationPropertyMapping.cs
- SizeAnimation.cs
- MappedMetaModel.cs
- JsonServiceDocumentSerializer.cs
- _Events.cs
- XmlSchemaImporter.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- SpeakInfo.cs
- COM2ExtendedBrowsingHandler.cs
- HtmlWindow.cs
- AppDomainAttributes.cs
- LinearGradientBrush.cs
- QuestionEventArgs.cs
- RunClient.cs
- ValidationHelpers.cs
- PreloadedPackages.cs
- OdbcEnvironment.cs
- Random.cs
- DecoderFallback.cs
- StatusBarPanel.cs
- EmbeddedMailObjectsCollection.cs
- QuotedStringWriteStateInfo.cs
- UnsafeNativeMethods.cs
- AccessDataSource.cs
- WaitHandle.cs
- ManifestResourceInfo.cs
- Compilation.cs
- OwnerDrawPropertyBag.cs
- ConcurrencyBehavior.cs
- XmlCharType.cs
- FileEnumerator.cs