C# Класс ManagedUiaCustomizationCore.UiaMethodInfoHelper

Helper class to assemble information about a custom method Corresponds to UIAutomationMethodInfo.
Наследование: ISchemaMember
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
Build ( ) : void

Marshal our data to the UIAutomationMethodInfo struct.

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

Описание методов

AddParameter() публичный Метод

public AddParameter ( UiaParameterDescription param ) : void
param UiaParameterDescription
Результат void

DispatchCallToProvider() публичный Метод

public DispatchCallToProvider ( object provider, UiaParameterListHelper paramList ) : void
provider object
paramList UiaParameterListHelper
Результат void

GetProviderMethodArgumentIndex() публичный Метод

public GetProviderMethodArgumentIndex ( string argumentName ) : int
argumentName string
Результат int

UiaMethodInfoHelper() публичный Метод

You have to use this ctor if you need ISchemaMember.DispatchCallToProvider
public UiaMethodInfoHelper ( MethodInfo providerMethodInfo, bool doSetFocus ) : System
providerMethodInfo System.Reflection.MethodInfo
doSetFocus bool
Результат System

UiaMethodInfoHelper() публичный Метод

public UiaMethodInfoHelper ( string programmaticName, bool doSetFocus, IEnumerable uiaParams ) : System
programmaticName string
doSetFocus bool
uiaParams IEnumerable
Результат System