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