FakeTypeResolver Class
A fake type resolver suitable for testing.
public sealed class FakeTypeResolver : ITypeResolver
- Namespace
- Spectre
.Console .Testing - Interfaces
Constructors
-
FakeTypeResolver
(Dictionary <Type, List <Type> > , Dictionary <Type, List <object> > ) -
Initializes a new instance of the
FakeTypeResolver
class.
Methods
-
object Resolve
(Type) - Resolves an instance of the specified type.