SingleOrQueue<T> Class

Summary

FIFO Queue optimized for holding zero or one items.
Namespace
Avalonia.Utilities
Base Types
  • object
graph BT Type-->Base0["object"] Type["SingleOrQueue<T>"] class Type type-node

Syntax

public class SingleOrQueue<T>

Type Parameters

Name Description
T The type of items held in the queue.

Properties

Name Value Summary
Empty bool

Methods

Name Value Summary
Dequeue() T
Enqueue(T) void