C# Class ManagedUiaCustomizationCore.UiaParameterHelper

Helper class to marshal parameters for UIA custom method calls Corresponds to UIAutomationParameter
Exibir arquivo Open project: TestStack/uia-custom-pattern-managed Class Usage Examples

Public Methods

Method Description
GetClrType ( ) : Type
GetUiaType ( ) : UIAutomationType
ToUiaParam ( ) : UIAutomationParameter
UiaParameterHelper ( UIAutomationType type ) : System
UiaParameterHelper ( UIAutomationType type, IntPtr marshalledData ) : System

Private Methods

Method Description
ClrTypeFromUiaType ( UIAutomationType uiaType ) : Type
GetSizeOfMarshalledData ( ) : int

Method Details

GetClrType() public method

public GetClrType ( ) : Type
return System.Type

GetUiaType() public method

public GetUiaType ( ) : UIAutomationType
return UIAutomationType

ToUiaParam() public method

public ToUiaParam ( ) : UIAutomationParameter
return UIAutomationParameter

UiaParameterHelper() public method

public UiaParameterHelper ( UIAutomationType type ) : System
type UIAutomationType
return System

UiaParameterHelper() public method

public UiaParameterHelper ( UIAutomationType type, IntPtr marshalledData ) : System
type UIAutomationType
marshalledData System.IntPtr
return System