FakeTypeResolver(Dictionary<Type, List<Type>>, Dictionary<Type, List<object>>) Constructor
Initializes a new instance of the
FakeTypeResolver
class.
public FakeTypeResolver(Dictionary<Type, List<Type>> registrations, Dictionary<Type, List<object>> instances)
- Namespace
- Spectre
.Console .Testing - Containing Type
- FakeTypeResolver
Parameters
-
Dictionary
<Type, List <Type> > registrations - The registrations.
-
Dictionary
<Type, List <object> > instances - The singleton registrations.