Table of Contents

Class Value

Namespace
Dassie.Core
Assembly
Dassie.Core.dll

Provides functionality related to values.

public static class Value
Inheritance
Value
Inherited Members

Methods

discard(object)

Discards the specified value.

public static void discard(object obj)

Parameters

obj object

The value to discard.

formatm(object)

Formats an object for use in build system macros.

public static string formatm(object obj)

Parameters

obj object

The object to format.

Returns

string

A string representation for the object, suitable for use in build system macros.

id(object)

Computes the identity of the specified value, which is the value itself.

public static object id(object obj)

Parameters

obj object

The value, whose identity should be returned.

Returns

object

Returns the identity of the specified value.

id<T>(T)

Computes the identity of the specified value, which is the value itself.

public static T id<T>(T item)

Parameters

item T

The value, whose identity should be returned.

Returns

T

Returns the identity of the specified value.

Type Parameters

T

ignore(object)

Discards the specified value.

public static void ignore(object obj)

Parameters

obj object

The value to discard.

negate(object)

Negates the specified value.

public static object negate(object val)

Parameters

val object

The value to negate.

Returns

object

The negated value.