Microsoft.VisualStudio.R.Package.ProjectProperties.GetFileFilterAsync C# (CSharp) Method

GetFileFilterAsync() public method

Gets the filter string that selects files to be sent to remote host.
Default filter string is ".r;.rmd;". This selects all R script files, R markdown files.
public GetFileFilterAsync ( ) : Task
return Task
        public async Task<string> GetFileFilterAsync() {
            var runProps = await GetConfigurationRunPropertiesAsync();
            var filter = await runProps.TransferFilesFilter.GetEvaluatedValueAsync();
            if (string.IsNullOrWhiteSpace(filter)) {
                return "*.r;*.rmd;";
            }
            return filter;
        }