use if (args.ApplyUntilTrue... in SampleService.cpp to simplify