Skip to content

AdapterCollection

Namespace: LLama.Abstractions

A list of LoraAdapter objects

1
public sealed class AdapterCollection : System.Collections.Generic.List`1[[LLama.Abstractions.LoraAdapter, LLamaSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Collections.Generic.IList`1[[LLama.Abstractions.LoraAdapter, LLamaSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Collections.Generic.ICollection`1[[LLama.Abstractions.LoraAdapter, LLamaSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Collections.Generic.IEnumerable`1[[LLama.Abstractions.LoraAdapter, LLamaSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Collections.IEnumerable, System.Collections.IList, System.Collections.ICollection, System.Collections.Generic.IReadOnlyList`1[[LLama.Abstractions.LoraAdapter, LLamaSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Collections.Generic.IReadOnlyCollection`1[[LLama.Abstractions.LoraAdapter, LLamaSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IEquatable`1[[LLama.Abstractions.AdapterCollection, LLamaSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance ObjectList<LoraAdapter>AdapterCollection
Implements IList<LoraAdapter>, ICollection<LoraAdapter>, IEnumerable<LoraAdapter>, IEnumerable, IList, ICollection, IReadOnlyList<LoraAdapter>, IReadOnlyCollection<LoraAdapter>, IEquatable<AdapterCollection>

Properties

Capacity

1
public int Capacity { get; set; }

Property Value

Int32

Count

1
public int Count { get; }

Property Value

Int32

Item

1
public LoraAdapter Item { get; set; }

Property Value

LoraAdapter

Constructors

AdapterCollection()

1
public AdapterCollection()

Methods

Equals(AdapterCollection)

1
public bool Equals(AdapterCollection other)

Parameters

other AdapterCollection

Returns

Boolean

Equals(Object)

1
public bool Equals(object obj)

Parameters

obj Object

Returns

Boolean

GetHashCode()

1
public int GetHashCode()

Returns

Int32