C# Класс ManagedUiaCustomizationCore.UiaPropertyInfoHelper

Helper class to gather data about a custom property Corresponds to UIAutomationPropertyInfo
Наследование: ISchemaMember
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
DispatchCallToProvider ( object provider, UiaParameterListHelper paramList ) : void
UiaPropertyInfoHelper ( System.Guid propertyGuid, string programmaticName, UIAutomationType propertyType ) : System

Suitable for standalone properties that do not require handlers, hence no need to use ISchemaMember.DispatchCallToProvider() ever.

UiaPropertyInfoHelper ( System.Guid propertyGuid, string programmaticName, UIAutomationType propertyType, object>.Func getterFromProvider ) : System

Usable for general-purpose implementation that uses ISchemaMember.DispatchCallToProvider()

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

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

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

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

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

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

Suitable for standalone properties that do not require handlers, hence no need to use ISchemaMember.DispatchCallToProvider() ever.
public UiaPropertyInfoHelper ( System.Guid propertyGuid, string programmaticName, UIAutomationType propertyType ) : System
propertyGuid System.Guid
programmaticName string
propertyType UIAutomationType
Результат System

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

Usable for general-purpose implementation that uses ISchemaMember.DispatchCallToProvider()
public UiaPropertyInfoHelper ( System.Guid propertyGuid, string programmaticName, UIAutomationType propertyType, object>.Func getterFromProvider ) : System
propertyGuid System.Guid
programmaticName string
propertyType UIAutomationType
getterFromProvider object>.Func Lambda for getting property value from pattern provider interface. It should be akin to /// (object p) => ((ISomePatternProvider)p).MyProperty. Or, same thing, /// TypeMember<ISomePatternProvider>.GetPropertyGetter(p => p.MyProperty). For standalone properties /// it can be null (it is used for pattern handler implementation only, which doesn't take part in getting standalone properties).
Результат System