public async Task SetWatchFormatAsync(string id, WatchFormat format) { var formatString = "natural"; switch (format) { case WatchFormat.Binary: formatString = "binary"; break; case WatchFormat.Decimal: formatString = "decimal"; break; case WatchFormat.Hexadecimal: formatString = "hexadecimal"; break; case WatchFormat.Octal: formatString = "octal"; break; } await new VarSetFormatCommand(id, formatString).Execute(this); }
public async Task SetFormat(WatchFormat format) { if (this.format != format) { await debugger.SetWatchFormatAsync(Id, format); this.format = format; } }
public VariableObject() { Children = new List <VariableObject>(); format = WatchFormat.Natural; }
public VariableObject() { Children = new List<VariableObject>(); format = WatchFormat.Natural; }
public Task SetWatchFormatAsync(string id, WatchFormat format) { throw new NotImplementedException(); }