mscorlib(4.0.0.0) API with additions
CachedCodeEntry.cs
1 using System.Collections;
2 
4 {
5  internal sealed class CachedCodeEntry
6  {
7  internal string _key;
8 
9  internal RegexCode _code;
10 
11  internal Hashtable _caps;
12 
13  internal Hashtable _capnames;
14 
15  internal string[] _capslist;
16 
17  internal int _capsize;
18 
19  internal RegexRunnerFactory _factory;
20 
21  internal ExclusiveReference _runnerref;
22 
23  internal SharedReference _replref;
24 
25  internal CachedCodeEntry(string key, Hashtable capnames, string[] capslist, RegexCode code, Hashtable caps, int capsize, ExclusiveReference runner, SharedReference repl)
26  {
27  _key = key;
28  _capnames = capnames;
29  _capslist = capslist;
30  _code = code;
31  _caps = caps;
32  _capsize = capsize;
33  _runnerref = runner;
34  _replref = repl;
35  }
36 
37  internal void AddCompiled(RegexRunnerFactory factory)
38  {
39  _factory = factory;
40  _code = null;
41  }
42  }
43 }
Creates a T:System.Text.RegularExpressions.RegexRunner class for a compiled regular expression.
Definition: __Canon.cs:3
Represents a collection of key/value pairs that are organized based on the hash code of the key....
Definition: Hashtable.cs:17