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

PlotDeviceCreate() public method

public PlotDeviceCreate ( System.Guid deviceId, CancellationToken ct ) : Task
deviceId System.Guid
ct System.Threading.CancellationToken
return Task
        public Task<PlotDeviceProperties> PlotDeviceCreate(Guid deviceId, CancellationToken ct) {
            PlotDeviceCreateCalls.Add(new Tuple<Guid, CancellationToken>(deviceId, ct));
            return PlotDeviceCreateHandler != null ? PlotDeviceCreateHandler(deviceId, ct) : Task.FromResult(PlotDeviceProperties.Default);
        }