Table of Contents

Class ConsoleCommandCollection

Namespace
SampSharp.Entities.SAMP
Assembly
SampSharp.OpenMp.Entities.dll

Represents a collection of console commands.

[EventParameter]
public class ConsoleCommandCollection : IReadOnlyCollection<string>, IEnumerable<string>, IEnumerable
Inheritance
ConsoleCommandCollection
Implements
Inherited Members

Constructors

ConsoleCommandCollection(FlatHashSetStringView)

Represents a collection of console commands.

public ConsoleCommandCollection(FlatHashSetStringView set)

Parameters

set FlatHashSetStringView

Properties

Count

Gets the number of commands in this collection.

public int Count { get; }

Property Value

int

Methods

Add(string)

Adds a command to this collection.

public void Add(string command)

Parameters

command string

The command to add to the collection.

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<string> GetEnumerator()

Returns

IEnumerator<string>

An enumerator that can be used to iterate through the collection.