Show / Hide Table of Contents

Interface DataStructure.IRemovable<T>

Property of a data structure (does it have a Romove method).

Namespace: Towel.DataStructures
Assembly: Towel.dll
Syntax
public interface IRemovable<T>
Type Parameters
Name Description
T

The type of value.

Methods

| Improve this Doc View Source

TryRemove(T)

Tries to remove a value.

Declaration
(bool Success, Exception? Exception) TryRemove(T value)
Parameters
Type Name Description
T value

The value to remove.

Returns
Type Description
System.ValueTuple<System.Boolean, System.Nullable<Exception>>

True if the value was removed or false if not.

Extension Methods

DataStructure.Remove<T>(DataStructure.IRemovable<T>, T)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX