private async Task <bool> ExecuteWithTimeout(AsyncCodeActivityContext context, CancellationToken cancellationToken = default) { var text = Text.Get(context); var fontsize = FontSize.Get(context); var fontname = FontName.Get(context); var outputfilepath = OutputFilePath.Get(context); return(await Task.FromResult(new WallpaperGenerater().GenerateWallPaperFromSolidColor(BackGroundColor, TextColor, text, fontsize, fontname, outputfilepath))); }