Table of Contents

Class NameAndValue

Namespace
CSF.Screenplay.Reporting
Assembly
CSF.Screenplay.Abstractions.dll

A simple model for a value that is to be included in a formatted ReportFragment, which has an associated name.

public class NameAndValue
Inheritance
NameAndValue
Inherited Members

Constructors

NameAndValue(string, object)

Initializes a new instance of NameAndValue.

public NameAndValue(string name, object value)

Parameters

name string

The name for the value

value object

The value

Exceptions

ArgumentNullException

If name is null.

Properties

Name

Gets the name associated with this value.

public string Name { get; }

Property Value

string

Value

Gets the value.

public object Value { get; }

Property Value

object