public void Run() { var classToPass = new MyClass(); classToPass.MyInt = 42; FuncExecutor.ExecuteAction(x => x.ProcessObject(classToPass)); }
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); }