C# Class ManagedUiaCustomizationCore.UiaMethodInfoHelper

Helper class to assemble information about a custom method Corresponds to UIAutomationMethodInfo.
Inheritance: ISchemaMember
Afficher le fichier Open project: TestStack/uia-custom-pattern-managed Class Usage Examples

Méthodes publiques

Méthode Description
AddParameter ( UiaParameterDescription param ) : void
DispatchCallToProvider ( object provider, UiaParameterListHelper paramList ) : void
GetProviderMethodArgumentIndex ( string argumentName ) : int
UiaMethodInfoHelper ( MethodInfo providerMethodInfo, bool doSetFocus ) : System

You have to use this ctor if you need ISchemaMember.DispatchCallToProvider

UiaMethodInfoHelper ( string programmaticName, bool doSetFocus, IEnumerable uiaParams ) : System

Private Methods

Méthode Description
Build ( ) : void

Marshal our data to the UIAutomationMethodInfo struct.

BuildParamsFromProviderMethodInfo ( MethodInfo mInfo ) : IEnumerable
UiaMethodInfoHelper ( string programmaticName, bool doSetFocus, IEnumerable uiaParams, MethodInfo providerMethodInfo ) : System

Method Details

AddParameter() public méthode

public AddParameter ( UiaParameterDescription param ) : void
param UiaParameterDescription
Résultat void

DispatchCallToProvider() public méthode

public DispatchCallToProvider ( object provider, UiaParameterListHelper paramList ) : void
provider object
paramList UiaParameterListHelper
Résultat void

GetProviderMethodArgumentIndex() public méthode

public GetProviderMethodArgumentIndex ( string argumentName ) : int
argumentName string
Résultat int

UiaMethodInfoHelper() public méthode

You have to use this ctor if you need ISchemaMember.DispatchCallToProvider
public UiaMethodInfoHelper ( MethodInfo providerMethodInfo, bool doSetFocus ) : System
providerMethodInfo System.Reflection.MethodInfo
doSetFocus bool
Résultat System

UiaMethodInfoHelper() public méthode

public UiaMethodInfoHelper ( string programmaticName, bool doSetFocus, IEnumerable uiaParams ) : System
programmaticName string
doSetFocus bool
uiaParams IEnumerable
Résultat System