Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
struct | Key |
class | Node |
Static Public Member Functions | |
static Regex | GetOrAdd (string pattern) |
static Regex | GetOrAdd (string pattern, RegexOptions options, TimeSpan matchTimeout) |
Properties | |
static object | SyncObj [get] |
static int | MaxCacheSize [get, set] |
Static Private Member Functions | |
static Regex | Get (Key key) |
static void | Add (Key key, Regex regex) |
Static Private Attributes | |
static volatile Node | s_lastAccessed |
static readonly ConcurrentDictionary< Key, Node > | s_cacheDictionary = new ConcurrentDictionary<Key, Node>(1, 31) |
static readonly List< Node > | s_cacheList = new List<Node>(15) |
static readonly Random | s_random = new Random() |
static int | s_maxCacheSize = 15 |
Definition at line 9 of file RegexCache.cs.