Show / Hide Table of Contents

Class ObjectList

Provides utility methods to create ObjectList<T> instances.

Inheritance
System.Object
ObjectList
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Common
Assembly: Terrasoft.Common.dll
Syntax
public static class ObjectList

Methods

Create(Boolean[])

Creates the ObjectList<T> instance where items has type System.Boolean using provided items.

Declaration
public static ObjectList<bool> Create(params bool[] items)
Parameters
Type Name Description
System.Boolean[] items

The items.

Returns
Type Description
ObjectList<System.Boolean>

Create(IEnumerable<Boolean>)

Creates the ObjectList<T> instance where items has type System.Boolean using provided items.

Declaration
public static ObjectList<bool> Create(IEnumerable<bool> items)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Boolean> items

The items.

Returns
Type Description
ObjectList<System.Boolean>

Create(IEnumerable<DateTime>)

Creates the ObjectList<T> instance where items has type System.DateTime using provided items.

Declaration
public static ObjectList<DateTime> Create(IEnumerable<DateTime> items)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.DateTime> items

The items.

Returns
Type Description
ObjectList<System.DateTime>

Create(IEnumerable<Decimal>)

Creates the ObjectList<T> instance where items has type System.Decimal using provided items.

Declaration
public static ObjectList<decimal> Create(IEnumerable<decimal> items)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Decimal> items

The items.

Returns
Type Description
ObjectList<System.Decimal>

Create(IEnumerable<Guid>)

Creates the ObjectList<T> instance where items has type System.Guid using provided items.

Declaration
public static ObjectList<Guid> Create(IEnumerable<Guid> items)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Guid> items

The items.

Returns
Type Description
ObjectList<System.Guid>

Create(IEnumerable<Int32>)

Creates the ObjectList<T> instance where items has type System.Int32 using provided items.

Declaration
public static ObjectList<int> Create(IEnumerable<int> items)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Int32> items

The items.

Returns
Type Description
ObjectList<System.Int32>

Create(IEnumerable<String>)

Creates the ObjectList<T> instance where items has type System.String using provided items.

Declaration
public static ObjectList<string> Create(IEnumerable<string> items)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.String> items

The items.

Returns
Type Description
ObjectList<System.String>

Create(DateTime[])

Creates the ObjectList<T> instance where items has type System.DateTime using provided items.

Declaration
public static ObjectList<DateTime> Create(params DateTime[] items)
Parameters
Type Name Description
System.DateTime[] items

The items.

Returns
Type Description
ObjectList<System.DateTime>

Create(Decimal[])

Creates the ObjectList<T> instance where items has type System.Decimal using provided items.

Declaration
public static ObjectList<decimal> Create(params decimal[] items)
Parameters
Type Name Description
System.Decimal[] items

The items.

Returns
Type Description
ObjectList<System.Decimal>

Create(Guid[])

Creates the ObjectList<T> instance where items has type System.Guid using provided items.

Declaration
public static ObjectList<Guid> Create(params Guid[] items)
Parameters
Type Name Description
System.Guid[] items

The items.

Returns
Type Description
ObjectList<System.Guid>

Create(Int32[])

Creates the ObjectList<T> instance where items has type System.Int32 using provided items.

Declaration
public static ObjectList<int> Create(params int[] items)
Parameters
Type Name Description
System.Int32[] items

The items.

Returns
Type Description
ObjectList<System.Int32>

Create(String[])

Creates the ObjectList<T> instance where items has type System.String using provided items.

Declaration
public static ObjectList<string> Create(params string[] items)
Parameters
Type Name Description
System.String[] items

The items.

Returns
Type Description
ObjectList<System.String>

Create<T>()

Creates ObjectList<T> instance.

Declaration
public static ObjectList<T> Create<T>()
Returns
Type Description
ObjectList<T>
Type Parameters
Name Description
T

Items type.

Back to top Generated by DocFX