Example #1
0
 static StaticParseRefTypeMethod()
 {
     Parse = ParseMethodUtilities.GetParseFn <T>(ParseMethod);
     ParseStringSegment = ParseMethodUtilities.GetParseStringSegmentFn <T>(ParseStringSegmentMethod);
 }
Example #2
0
 static StaticParseMethod()
 {
     CacheFn = ParseMethodUtilities.GetParseFn <T>(ParseMethod);
     CacheStringSegmentFn = ParseMethodUtilities.GetParseStringSegmentFn <T>(ParseMethod);
 }
 static StaticParseRefTypeMethod()
 {
     CacheFn           = ParseMethodUtilities.GetParseFn <T>(ParseMethod);
     CacheStringSpanFn = ParseMethodUtilities.GetParseStringSpanFn <T>(ParseStringSpanMethod);
 }
Example #4
0
 /// <summary>
 /// Initializes static members of the <see cref="StaticParseRefTypeMethod{TSerializer, T}"/> class.
 /// </summary>
 static StaticParseRefTypeMethod()
 {
     CacheFn = ParseMethodUtilities.GetParseFn <T>(ParseMethod);
 }