Пример #1
0
 public void GivenACommanderDefinitionType(string type)
 {
     Type = Type.GetType(type);
     Assert.IsNotNull(Type, "Target type not found. Did you use an assembly-qualified name of the type?");
     TargetCommander = Toolbit.Parsers.Commander.Create(Type);
     SpecsCommanderTest.OnMethodInvoked = str => LastOutput = str;
 }
Пример #2
0
 public static Commander Create <T>() => Commander.Create(typeof(T));