public void RegisterCleanupPath(string path) { var caller = new RegisterCleanupHelper() { Helper = _helper, Path = path }; ExecutionContextLessThread.DefaultCallAction(caller.RegisterCleanupPath); }
public void Dispose() { ExecutionContextLessThread.DefaultCallAction(_helper.Dispose); }