Table of Contents

Method InsertRange

Namespace
DisCatSharp.Lavalink
Assembly
DisCatSharp.Lavalink.dll

Adds a range of objects at the specified index in the LavalinkQueue<T>.

public void InsertRange(int index, IEnumerable<T> values)

Parameters

index int

The zero-based index at which the objects should be inserted.

values IEnumerable<T>

The objects to insert. The values cannot be null.

Exceptions

ArgumentOutOfRangeException

Thrown when the index is out of range.

ArgumentNullException

Thrown when the values are null.

ArgumentOutOfRangeException

Thrown when the index is out of range.