Метод | Описание | |
---|---|---|
CountMessages ( ) : int |
Counts the messages.
|
|
Enqueue ( string message ) : void |
Enqueues the specified message.
|
|
HasMessages ( ) : bool |
Determines whether this instance has messages.
|
|
TryDequeue ( string &message ) : bool |
Tries to dequeue a message.
|
|
TryPeek ( string &messages, int numberOfMessages ) : bool |
Tries to peek the first message.
|
public Enqueue ( string message ) : void | ||
message | string | The message. |
Результат | void |
public TryDequeue ( string &message ) : bool | ||
message | string | The message. |
Результат | bool |
public TryPeek ( string &messages, int numberOfMessages ) : bool | ||
messages | string | The messages. |
numberOfMessages | int | The number of messages. |
Результат | bool |