Barotrauma Client Doc
Barotrauma.Range< T > Struct Template Reference

An inclusive range, i.e. [Start, End] where Start <= End More...

Public Member Functions

readonly bool Contains (in T v)
 
 Range (T start, T end)
 

Properties

Start [get, set]
 
End [get, set]
 

Detailed Description

An inclusive range, i.e. [Start, End] where Start <= End

Type Constraints
T :notnull 
T :IComparable<T> 

Definition at line 9 of file Range.cs.

Constructor & Destructor Documentation

◆ Range()

Barotrauma.Range< T >.Range ( start,
end 
)

Definition at line 45 of file Range.cs.

Member Function Documentation

◆ Contains()

readonly bool Barotrauma.Range< T >.Contains ( in T  v)

Property Documentation

◆ End

T Barotrauma.Range< T >.End
getset

Definition at line 22 of file Range.cs.

◆ Start

T Barotrauma.Range< T >.Start
getset

Definition at line 12 of file Range.cs.