Table of Contents

Class ValueHelpers

Namespace
Cryville.EEW
Assembly
Cryville.EEW.dll
Provides a set of static methods related to values.
public static class ValueHelpers
Inheritance
ValueHelpers
Inherited Members

Methods

GetValues<T>(object?)

Gets the object itself if it is of the specified type, or the items of the specified type if the object is an enumerable.
public static IEnumerable<T> GetValues<T>(object? obj)

Parameters

obj object
The object.

Returns

IEnumerable<T>
An enumerable containing the instances of the specified type within the object.

Type Parameters

T
The type of the items.