Microsoft.R.Host.Client.Test.Stubs.RSessionCallbackStub.ViewFile C# (CSharp) Method

ViewFile() public method

public ViewFile ( string fileName, string tabName, bool deleteFile, CancellationToken cancellationToken ) : Task
fileName string
tabName string
deleteFile bool
cancellationToken System.Threading.CancellationToken
return Task
        public Task ViewFile(string fileName, string tabName, bool deleteFile, CancellationToken cancellationToken) {
            ShowFileCalls.Add(new Tuple<string, string, bool>(fileName, tabName, deleteFile));
            ShowFileHandler?.Invoke(fileName, tabName, deleteFile);
            return Task.CompletedTask;
        }