internal PowerUpData(IJsonPowerUpData json, TrelloAuthorization auth) { Id = json.Id; _context = new PowerUpDataContext(Id, auth); _pluginId = new Field <string>(_context, nameof(PluginId)); _value = new Field <string>(_context, nameof(Value)); }
internal PowerUpData(IJsonPowerUpData json, TrelloAuthorization auth) { Id = json.Id; _context = new PowerUpDataContext(Id, auth); _pluginId = new Field <string>(_context, nameof(PluginId)); _value = new Field <string>(_context, nameof(Value)); if (auth != TrelloAuthorization.Null) { TrelloConfiguration.Cache.Add(this); } }