public CharacterLogic(HttpClient client, EsiConfig config, AuthorizedCharacterData data = null) { _client = client; _config = config; _data = data; if (data != null) character_id = data.CharacterID; }
public CorporationLogic(HttpClient client, EsiConfig config, AuthorizedCharacterData data = null) { _client = client; _config = config; _data = data; if (data != null) { corporation_id = data.CorporationID; } }
public ContactsLogic(HttpClient client, EsiConfig config, AuthorizedCharacterData data = null) { _client = client; _config = config; _data = data; if (_data != null) { character_id = _data.CharacterID; corporation_id = _data.CorporationID; alliance_id = _data.CorporationID; } }
public static IServiceCollection AddEsi(this IServiceCollection services, IConfiguration config) { services.AddEve(config); services.AddScoped <IApiConfig, EsiConfig>(a => { EsiConfig esiConfig = new EsiConfig(); config.Bind("EsiConfig", esiConfig); return(esiConfig); }); services.AddScoped <API>(); return(services); }
public UserInterfaceLogic(HttpClient client, EsiConfig config, AuthorizedCharacterData data = null) { _client = client; _config = config; _data = data; }
public AllianceLogic(HttpClient client, EsiConfig config) { _client = client; _config = config; }
public DogmaLogic(HttpClient client, EsiConfig config) { _client = client; _config = config; }
public WarsLogic(HttpClient client, EsiConfig config) { _client = client; _config = config; }
public SovereigntyLogic(HttpClient client, EsiConfig config) { _client = client; _config = config; }
public IncursionsLogic(HttpClient client, EsiConfig config) { _client = client; _config = config; }