Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / UIAutomation / UIAutomationClient / System / Windows / Automation / ClientSettings.cs / 1305600 / ClientSettings.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Facade class that contains client configutation options (eg. proxies) // //--------------------------------------------------------------------------- using System.Windows.Automation; using System; using System.Runtime.InteropServices; using System.Security.Permissions; using System.Reflection; using System.Diagnostics; using MS.Internal.Automation; using MS.Win32; namespace System.Windows.Automation { ////// Class containing methods for configuring UIAutomation. /// #if (INTERNAL_COMPILE) internal static class ClientSettings #else public static class ClientSettings #endif { //----------------------------------------------------- // // Public Methods // //----------------------------------------------------- #region Public Methods #region Proxies / Client-side providers ////// Load client-side providers from specified assembly /// /// /// Specifies the assembly to load client-side providers from. /// public static void RegisterClientSideProviderAssembly(AssemblyName assemblyName) { Misc.ValidateArgumentNonNull( assemblyName, "assemblyName" ); ProxyManager.RegisterProxyAssembly( assemblyName ); } ////// Register client-side providers to use on HWND-based controls. /// /// Array of ClientSideProviderDescription structs that specify window class names and factory delegate public static void RegisterClientSideProviders(ClientSideProviderDescription[] clientSideProviderDescription) { Misc.ValidateArgumentNonNull(clientSideProviderDescription, "clientSideProviderDescription "); ProxyManager.RegisterWindowHandlers(clientSideProviderDescription); } #endregion Proxies / Client-side providers #endregion Public Methods } } // 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
- WindowProviderWrapper.cs
- PeerToPeerException.cs
- TextEditorContextMenu.cs
- SchemaType.cs
- MsmqIntegrationProcessProtocolHandler.cs
- AuthenticationService.cs
- DataGridAutomationPeer.cs
- QueryOperationResponseOfT.cs
- BufferedStream.cs
- StringAnimationUsingKeyFrames.cs
- ObjectView.cs
- ExtenderHelpers.cs
- ScrollViewerAutomationPeer.cs
- GetTokenRequest.cs
- ReflectionServiceProvider.cs
- ErrorsHelper.cs
- CollectionContainer.cs
- TextFormatterContext.cs
- ConfigurationManagerInternalFactory.cs
- WebHttpDispatchOperationSelector.cs
- DrawToolTipEventArgs.cs
- AssemblyName.cs
- TemplateColumn.cs
- CharKeyFrameCollection.cs
- Helper.cs
- UndoEngine.cs
- Effect.cs
- CommandEventArgs.cs
- DataTemplate.cs
- SafeRightsManagementSessionHandle.cs
- BindMarkupExtensionSerializer.cs
- XpsImage.cs
- BaseParagraph.cs
- TableLayoutRowStyleCollection.cs
- ReferentialConstraint.cs
- EntityStoreSchemaFilterEntry.cs
- MarkedHighlightComponent.cs
- ToolStripRendererSwitcher.cs
- Array.cs
- UInt16Storage.cs
- RefreshPropertiesAttribute.cs
- UdpReplyToBehavior.cs
- WebEvents.cs
- ListSortDescription.cs
- TypeViewSchema.cs
- DeferredTextReference.cs
- AttributeEmitter.cs
- IdentitySection.cs
- FixedHighlight.cs
- LoginView.cs
- Stream.cs
- IConvertible.cs
- ErrorsHelper.cs
- HostSecurityManager.cs
- RequestQueue.cs
- AuthenticationModuleElementCollection.cs
- ReachSerializationCacheItems.cs
- X509CertificateTrustedIssuerElement.cs
- VirtualDirectoryMappingCollection.cs
- XmlSerializableReader.cs
- DataSpaceManager.cs
- glyphs.cs
- InOutArgumentConverter.cs
- VectorCollection.cs
- RadioButtonFlatAdapter.cs
- DynamicValidator.cs
- DataBinding.cs
- CellParagraph.cs
- StickyNote.cs
- EntityKeyElement.cs
- __ComObject.cs
- DataSourceUtil.cs
- SoapCodeExporter.cs
- EnumValidator.cs
- GroupBoxRenderer.cs
- MethodCallTranslator.cs
- DTCTransactionManager.cs
- ListBoxItem.cs
- RealProxy.cs
- ObfuscateAssemblyAttribute.cs
- UidPropertyAttribute.cs
- BooleanToVisibilityConverter.cs
- EntityRecordInfo.cs
- ScriptResourceInfo.cs
- SqlStatistics.cs
- SecurityPolicySection.cs
- Annotation.cs
- ToolStripItemBehavior.cs
- SHA512Cng.cs
- PopupRoot.cs
- ServiceReference.cs
- IgnoreFlushAndCloseStream.cs
- LoginView.cs
- XsdDataContractImporter.cs
- DocumentReferenceCollection.cs
- ThreadExceptionEvent.cs
- SamlEvidence.cs
- TypeGeneratedEventArgs.cs
- DBConnection.cs
- AssociationEndMember.cs