C# Class Microsoft.Protocols.TestSuites.Rdp.PtfPropUtility

A helper class to get specified type of PTF properties.
Show file Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Methods

Method Description
GetBoolPtfProperty ( ITestSite testSite, string propName, bool &propBoolValue ) : bool

Get a string type PTF property.

GetIntPtfProperty ( ITestSite testSite, string propName, int &propIntValue ) : bool

Get a string type PTF property.

GetStringPtfProperty ( ITestSite testSite, string propName, string &propStrValue ) : bool

Get a string type PTF property.

GetUIntPtfProperty ( ITestSite testSite, string propName, uint &propIntValue ) : bool

Get a string type PTF property.

Method Details

GetBoolPtfProperty() public static method

Get a string type PTF property.
public static GetBoolPtfProperty ( ITestSite testSite, string propName, bool &propBoolValue ) : bool
testSite ITestSite The test site where to get from.
propName string The property name.
propBoolValue bool
return bool

GetIntPtfProperty() public static method

Get a string type PTF property.
public static GetIntPtfProperty ( ITestSite testSite, string propName, int &propIntValue ) : bool
testSite ITestSite The test site where to get from.
propName string The property name.
propIntValue int
return bool

GetStringPtfProperty() public static method

Get a string type PTF property.
public static GetStringPtfProperty ( ITestSite testSite, string propName, string &propStrValue ) : bool
testSite ITestSite The test site where to get from.
propName string The property name.
propStrValue string The output property value.
return bool

GetUIntPtfProperty() public static method

Get a string type PTF property.
public static GetUIntPtfProperty ( ITestSite testSite, string propName, uint &propIntValue ) : bool
testSite ITestSite The test site where to get from.
propName string The property name.
propIntValue uint
return bool