示例#1
0
 static StaticParseRefTypeMethod()
 {
     Parse = ParseMethodUtilities.GetParseFn <T>(ParseMethod);
     ParseStringSegment = ParseMethodUtilities.GetParseStringSegmentFn <T>(ParseStringSegmentMethod);
 }
示例#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);
 }
示例#4
0
 /// <summary>
 /// Initializes static members of the <see cref="StaticParseRefTypeMethod{TSerializer, T}"/> class.
 /// </summary>
 static StaticParseRefTypeMethod()
 {
     CacheFn = ParseMethodUtilities.GetParseFn <T>(ParseMethod);
 }