You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

llama.abstractions.adaptercollection.md 3.7 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. # AdapterCollection
  2. Namespace: LLama.Abstractions
  3. A list of LoraAdapter objects
  4. ```csharp
  5. 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]]
  6. ```
  7. Inheritance [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object) → [List&lt;LoraAdapter&gt;](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.list-1) → [AdapterCollection](./llama.abstractions.adaptercollection.md)<br>
  8. Implements [IList&lt;LoraAdapter&gt;](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.ilist-1), [ICollection&lt;LoraAdapter&gt;](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.icollection-1), [IEnumerable&lt;LoraAdapter&gt;](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1), [IEnumerable](https://docs.microsoft.com/en-us/dotnet/api/system.collections.ienumerable), [IList](https://docs.microsoft.com/en-us/dotnet/api/system.collections.ilist), [ICollection](https://docs.microsoft.com/en-us/dotnet/api/system.collections.icollection), [IReadOnlyList&lt;LoraAdapter&gt;](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.ireadonlylist-1), [IReadOnlyCollection&lt;LoraAdapter&gt;](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.ireadonlycollection-1), [IEquatable&lt;AdapterCollection&gt;](https://docs.microsoft.com/en-us/dotnet/api/system.iequatable-1)
  9. ## Properties
  10. ### **Capacity**
  11. ```csharp
  12. public int Capacity { get; set; }
  13. ```
  14. #### Property Value
  15. [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)<br>
  16. ### **Count**
  17. ```csharp
  18. public int Count { get; }
  19. ```
  20. #### Property Value
  21. [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)<br>
  22. ### **Item**
  23. ```csharp
  24. public LoraAdapter Item { get; set; }
  25. ```
  26. #### Property Value
  27. [LoraAdapter](./llama.abstractions.loraadapter.md)<br>
  28. ## Constructors
  29. ### **AdapterCollection()**
  30. ```csharp
  31. public AdapterCollection()
  32. ```
  33. ## Methods
  34. ### **Equals(AdapterCollection)**
  35. ```csharp
  36. public bool Equals(AdapterCollection other)
  37. ```
  38. #### Parameters
  39. `other` [AdapterCollection](./llama.abstractions.adaptercollection.md)<br>
  40. #### Returns
  41. [Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean)<br>
  42. ### **Equals(Object)**
  43. ```csharp
  44. public bool Equals(object obj)
  45. ```
  46. #### Parameters
  47. `obj` [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object)<br>
  48. #### Returns
  49. [Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean)<br>
  50. ### **GetHashCode()**
  51. ```csharp
  52. public int GetHashCode()
  53. ```
  54. #### Returns
  55. [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)<br>