private void AuthenticateUser(string api_key, string api_secret) { try { ApiConnection = new aWhereApiConnection(api_key, api_secret); } catch (Exception exc) { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(exc.InnerException.Message); Console.ResetColor(); Console.WriteLine(); Console.WriteLine("Press any key to Exit"); Console.ReadKey(); Environment.Exit(0); } Repository = new aWhereRepository(ApiConnection); }
public aWhereRepository(aWhereApiConnection ApiConnection) { this.ApiConnection = ApiConnection; }
public ApiRequest(aWhereApiConnection connection) { Connection = connection; }
public aWhereRepository(aWhereApiConnection ApiConnection) { this.ApiConnection = ApiConnection; }