public void Run()
    {
        var classToPass = new MyClass();

        classToPass.MyInt = 42;
        FuncExecutor.ExecuteAction(x => x.ProcessObject(classToPass));
    }
Example #2
0
    public void Run()
    {
        var classToPass = new MyClass();
        var processor   = new MyClassProcessor();

        FuncExecutor.ExecuteAction <MyClass>(processor, classToPass);
    }
 public void Run() {
     var classToPass = new MyClass();
     
     FuncExecutor.ExecuteAction<MyClass>(MyClassProcessor.ProcessObject, classToPass);
 }