Beispiel #1
0
 public void Run()
 {
     _this = this;
     CalledClass.PokeCaller();
     Console.WriteLine(Error);
     Console.ReadKey();
 }
    static void Main(string[] args)
    {
        var            c1   = new CalledClass();
        IList <string> data = c1.GetData(new Sample2());

        foreach (var name in data)
        {
            Console.WriteLine(name);
        }
        Console.ReadLine();
    }
Beispiel #3
0
    public void TestMethod()
    {
        var calledClass = new CalledClass();

        ProcessCommand(() => calledClass.MethodToCall());
    }