Skip to content

AdapterCollection

Namespace: LLama.Abstractions

A list of LoraAdapter objects

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

public int Capacity { get; set; }

Property Value

Int32

Count

public int Count { get; }

Property Value

Int32

Item

public LoraAdapter Item { get; set; }

Property Value

LoraAdapter

Constructors

AdapterCollection()

public AdapterCollection()

Methods

Equals(AdapterCollection)

public bool Equals(AdapterCollection other)

Parameters

other AdapterCollection

Returns

Boolean

Equals(Object)

public bool Equals(object obj)

Parameters

obj Object

Returns

Boolean

GetHashCode()

public int GetHashCode()

Returns

Int32