Table of Contents

Class ToStringBuilder<T>

Namespace
Sportradar.LiveData.Sdk.Common.Utils
Assembly
Sportradar.LiveData.Sdk.dll
public class ToStringBuilder<T>

Type Parameters

T
Inheritance
ToStringBuilder<T>
Inherited Members

Constructors

ToStringBuilder(T)

public ToStringBuilder(T target)

Parameters

target T

Methods

Append(string)

public ToStringBuilder<T> Append(string value)

Parameters

value string

Returns

ToStringBuilder<T>

Append<TProperty>(object, Expression<Func<T, TProperty>>)

public ToStringBuilder<T> Append<TProperty>(object invoke, Expression<Func<T, TProperty>> propertyExpression)

Parameters

invoke object
propertyExpression Expression<Func<T, TProperty>>

Returns

ToStringBuilder<T>

Type Parameters

TProperty

ListProperty<TProperty>(List<TProperty>)

public string ListProperty<TProperty>(List<TProperty> input)

Parameters

input List<TProperty>

Returns

string

Type Parameters

TProperty

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

ToStringWithoutTypeName()

public string ToStringWithoutTypeName()

Returns

string