public static Type?TryFind(this IMatchingTypeFinder matchingTypeFinder, Type source, Type scope)
 => matchingTypeFinder.TryFind(source, scope.ToSymbol());
Example #2
0
 public static Type?TryFind(this IMatchingTypeFinder matchingTypeFinder, Type source)
 => matchingTypeFinder.TryFind(source, Symbol.Empty);
 public static Type Find(this IMatchingTypeFinder matchingTypeFinder, Type scope, Type source)
 => matchingTypeFinder.TryFind(scope, source) ?? throw new KeyNotFoundException();
Example #4
0
 public static Type Find(this IMatchingTypeFinder matchingTypeFinder, Type source)
 => matchingTypeFinder.TryFind(source, Symbol.Empty) ?? throw new KeyNotFoundException();