ListExt Class

Namespace: Stimulsoft.Data.Extensions

Methods

Method Returns Description
Add static object  
Compare static object  
IsBoolList static bool  
IsList static bool  
ToArray static object[]  
ToBoolList static IEnumerable  
ToDecimalArray static decimal[]  
ToDecimalList static IEnumerable  
ToDoubleArray static double[]  
ToDoubleList static IEnumerable  
ToIntArray static int[]  
ToIntList static IEnumerable  
ToList static IEnumerable  
ToNullableDateTimeList static IEnumerable<DateTime?>  
ToStringArray static string[]  
ToStringList static IEnumerable  

Method Details

Add static

Add(a: object, b: object): object

Parameters

  • a (object)
  • b (object)

Returns object


Compare static

Compare(a: object, b: object): object

Parameters

  • a (object)
  • b (object)

Returns object


IsBoolList static

IsBoolList(value: object): bool

Parameters

  • value (object)

Returns bool


IsList static

IsList(value: object): bool

Parameters

  • value (object)

Returns bool


ToArray static

ToArray(value: object): object[]

Parameters

  • value (object)

Returns object[]


ToBoolList static

ToBoolList(value: object): IEnumerable

Parameters

  • value (object)

Returns IEnumerable


ToDecimalArray static

ToDecimalArray(value: object): decimal[]

Parameters

  • value (object)

Returns decimal[]


ToDecimalList static

ToDecimalList(value: object): IEnumerable

Parameters

  • value (object)

Returns IEnumerable


ToDoubleArray static

ToDoubleArray(value: object): double[]

Parameters

  • value (object)

Returns double[]


ToDoubleList static

ToDoubleList(value: object): IEnumerable

Parameters

  • value (object)

Returns IEnumerable


ToIntArray static

ToIntArray(value: object): int[]

Parameters

  • value (object)

Returns int[]


ToIntList static

ToIntList(value: object): IEnumerable

Parameters

  • value (object)

Returns IEnumerable


ToList static

ToList(value: object): IEnumerable

Parameters

  • value (object)

Returns IEnumerable


ToNullableDateTimeList static

ToNullableDateTimeList(value: object): IEnumerable<DateTime?>

Parameters

  • value (object)

Returns IEnumerable<DateTime?>


ToStringArray static

ToStringArray(value: object): string[]

Parameters

  • value (object)

Returns string[]


ToStringList static

ToStringList(value: object): IEnumerable

Parameters

  • value (object)

Returns IEnumerable