Microsoft.R.Host.Client.Test.Stubs.RSessionCallbackStub.PlotDeviceCreate C# (CSharp) Метод

PlotDeviceCreate() публичный Метод

public PlotDeviceCreate ( System.Guid deviceId, CancellationToken ct ) : Task
deviceId System.Guid
ct System.Threading.CancellationToken
Результат 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);
        }