Class Value
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
objobjectThe value to discard.
formatm(object)
Formats an object for use in build system macros.
public static string formatm(object obj)
Parameters
objobjectThe 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
objobjectThe 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
itemTThe 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
objobjectThe value to discard.
negate(object)
Negates the specified value.
public static object negate(object val)
Parameters
valobjectThe value to negate.
Returns
- object
The negated value.