Table of Contents

Class SimpleReportMetadata

Namespace
Ranorex.Core
Assembly
Ranorex.Core.dll

A simple implementation of the IReportMetadata interface allowing an easy construction of report meta data.

public class SimpleReportMetadata : IReportMetadata
Inheritance
SimpleReportMetadata
Implements
Derived
Inherited Members

Constructors

SimpleReportMetadata()

Initializes a new instance of the SimpleReportMetadata class.

public SimpleReportMetadata()

SimpleReportMetadata(IDictionary<string, string>)

Initializes a new instance of the SimpleReportMetadata class containing the specified meta data.

public SimpleReportMetadata(IDictionary<string, string> metaInfos)

Parameters

metaInfos IDictionary<string, string>

A dictionary containing the meta data.

SimpleReportMetadata(string, string)

Initializes a new instance of the SimpleReportMetadata class with a single meta data key-value pair.

public SimpleReportMetadata(string key, string value)

Parameters

key string

The key of the key-value pair.

value string

The value of the key-value pair.

Methods

Add(string, string)

Adds the specified key-value pair to the meta data of this instance.

public SimpleReportMetadata Add(string key, string value)

Parameters

key string

The key of the key-value pair.

value string

The value of the key-value pair.

Returns

SimpleReportMetadata

A reference to this instance so one can chain multiple calls of this method together.

GetMetaInfos()

Returns a (non read-only!) dictionary of string key-value pairs specifying meta data for a report.

public IDictionary<string, string> GetMetaInfos()

Returns

IDictionary<string, string>

A (non read-only!) dictionary of strings.