C# 클래스 ManagedUiaCustomizationCore.UiaPropertyInfoHelper

Helper class to gather data about a custom property Corresponds to UIAutomationPropertyInfo
상속: ISchemaMember
파일 보기 프로젝트 열기: TestStack/uia-custom-pattern-managed 1 사용 예제들

공개 메소드들

메소드 설명
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