C# Class ManagedUiaCustomizationCore.UiaMethodInfoHelper

Helper class to assemble information about a custom method Corresponds to UIAutomationMethodInfo.
Inheritance: ISchemaMember
ファイルを表示 Open project: TestStack/uia-custom-pattern-managed Class Usage Examples

Public Methods

Method 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

Method 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 method

public AddParameter ( UiaParameterDescription param ) : void
param UiaParameterDescription
return void

DispatchCallToProvider() public method

public DispatchCallToProvider ( object provider, UiaParameterListHelper paramList ) : void
provider object
paramList UiaParameterListHelper
return void

GetProviderMethodArgumentIndex() public method

public GetProviderMethodArgumentIndex ( string argumentName ) : int
argumentName string
return int

UiaMethodInfoHelper() public method

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

UiaMethodInfoHelper() public method

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