Table of Contents

Class ABCRoslyn

Namespace
SunamoRoslyn._public
Assembly
SunamoRoslyn.dll

Represents a collection of ABRoslyn name-value pairs.

public class ABCRoslyn : List<ABRoslyn>, IList<ABRoslyn>, ICollection<ABRoslyn>, IReadOnlyList<ABRoslyn>, IReadOnlyCollection<ABRoslyn>, IEnumerable<ABRoslyn>, IList, ICollection, IEnumerable
Inheritance
ABCRoslyn
Implements
Inherited Members
Extension Methods

Constructors

ABCRoslyn()

Initializes a new empty instance of the ABCRoslyn class.

public ABCRoslyn()

ABCRoslyn(params ABRoslyn[])

Initializes a new instance of the ABCRoslyn class from an array of ABRoslyn elements.

public ABCRoslyn(params ABRoslyn[] collection)

Parameters

collection ABRoslyn[]

The elements to add.

ABCRoslyn(int)

Initializes a new instance of the ABCRoslyn class with specified capacity, filled with nulls.

public ABCRoslyn(int capacity)

Parameters

capacity int

The number of null elements to add.

ABCRoslyn(params object[])

Initializes a new instance of the ABCRoslyn class from interleaved name-value pairs or existing collections.

public ABCRoslyn(params object[] setsNameValue)

Parameters

setsNameValue object[]

The name-value pairs or collections to add.

Fields

Empty

An empty collection instance.

public static ABCRoslyn Empty

Field Value

ABCRoslyn

Properties

Length

Gets the number of elements in this collection.

public int Length { get; }

Property Value

int

Methods

OnlyAs()

Returns only the name components as a list.

public List<string> OnlyAs()

Returns

List<string>

A list of name components.

OnlyBs()

Returns only the value components as an object array. Must be array due to SQL, see https://stackoverflow.com/questions/9149919/no-mapping-exists-from-object-type-system-collections-generic-list-when-executin

public object[] OnlyBs()

Returns

object[]

An array of value components.

OnlyBs(List<ABRoslyn>)

Returns only the value components from a given list.

public static List<object> OnlyBs(List<ABRoslyn> list)

Parameters

list List<ABRoslyn>

The list of ABRoslyn elements.

Returns

List<object>

A list of value components.

OnlyBsList()

Returns only the value components as a list.

public List<object> OnlyBsList()

Returns

List<object>

A list of value components.

ToString()

Returns a comma-separated string representation of all elements.

public override string ToString()

Returns

string

A comma-separated string of all elements.