void SetupEvents (AsyncTaskRunner runner) { runner.OperationStartedEvent += (sender, e) => { OnOperationStartedEvent (sender); }; runner.MessageEvent += (sender, e) => { OnMessageEvent (sender, e); }; runner.ResponseEvent += (sender, e) => { OnResponseEvent (sender, e); }; runner.ProgressChangedEvent += (sender, e) => { OnProgressChangedEvent (sender, e); }; }
void SetupEvents(AsyncTaskRunner runner) { runner.OperationStartedEvent += (sender, e) => { OnOperationStartedEvent(sender); }; runner.MessageEvent += (sender, e) => { OnMessageEvent(sender, e); }; runner.ResponseEvent += (sender, e) => { OnResponseEvent(sender, e); }; runner.ProgressChangedEvent += (sender, e) => { OnProgressChangedEvent(sender, e); }; }
public static void Switch (AsyncTaskRunner runner) { Instance.current = runner; }
public static void Switch(AsyncTaskRunner runner) { Instance.current = runner; }