DoAllMethodsExistInType() public static méthode

public static DoAllMethodsExistInType ( Type type, IList methodsToRun ) : bool
type System.Type
methodsToRun IList
Résultat bool
 public void ShouldNotFindAllMethods()
 {
     Assert.That(CompilerService.DoAllMethodsExistInType(typeof(Sample), new List <string>()
     {
         "DoStuff", "DoStuff2", "NonexistantMethod"
     }), Is.False);
 }
 public void ShouldFindAllMethods()
 {
     Assert.That(CompilerService.DoAllMethodsExistInType(typeof(Sample), new List <string>()
     {
         "DoStuff", "DoStuff2"
     }), Is.True);
 }