コード例 #1
0
 public static void UnInit()
 {
     s_instance = null;
 }
コード例 #2
0
 /// <param name="capacity">Initial cache capacity. Should not be divisible by a small prime number. Justification here: https://docs.microsoft.com/en-us/dotnet/api/system.collections.concurrent.concurrentdictionary-2.-ctor?view=netcore-3.1. /// </param>
 public static void Init(int capacity)
 {
     s_instance = new RegexMatchCache(capacity);
 }