Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Text.RegularExpressions.RegexCache Class Referencesealed

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, Nodes_cacheDictionary = new ConcurrentDictionary<Key, Node>(1, 31)
 
static readonly List< Nodes_cacheList = new List<Node>(15)
 
static readonly Random s_random = new Random()
 
static int s_maxCacheSize = 15
 

Detailed Description

Definition at line 9 of file RegexCache.cs.


The documentation for this class was generated from the following file: