static XFullCorrelationId() { __ComponentDelimiterAsString = new string(c : ComponentDelimiter, count : 1); __CacheSpinLock = new PrimitiveSpinLock(); __Cache = new Dictionary <string, XFullCorrelationId>(StringComparer.Ordinal); __UseCache = false; RegexPattern = @"^(([\p{L}\p{Nd}_\-]{1,36}){1}(\.[\p{L}\p{Nd}_\-]{1,36}){0,127})$"; Regex = new Regex(pattern: RegexPattern, options: RegexOptions.Compiled); AppDomain = XCorrelationId.New(); }