tModLoader v2024.11
A mod to make and play Terraria mods
Cloning Class Reference

Static Public Member Functions

static void AddImmutableType (Type type)
 
static bool IsCloneable< T > (T t, Expression< Func< T, Delegate > > cloneMethod)
 
static bool IsCloneable< T, F > (T t, Expression< Func< T, F > > cloneMethod)
 
static bool IsImmutable (Type type)
 
static void WarnNotCloneable (Type type)
 

Member Function Documentation

◆ IsCloneable< T, F >()

static bool Cloning.IsCloneable< T, F > ( t,
Expression< Func< T, F > >  cloneMethod 
)
static
Type Constraints
F :Delegate