Exemplo n.º 1
0
        public static APIConnector ForCredentialFile(string path)
        {
            var newConnector = new APIConnector();

            using (var sr = new StreamReader(path))
            {
                newConnector.BaseURL  = sr.ReadLine();
                newConnector.Username = sr.ReadLine();
                newConnector.Password = sr.ReadLine();
            }
            return(newConnector);
        }
Exemplo n.º 2
0
 public GettinEvents(APIConnector connector)
 {
     this.connector = connector;
 }
Exemplo n.º 3
0
 public Orders(APIConnector aPIConnector)
 {
     this.aPIConnector = aPIConnector;
 }
Exemplo n.º 4
0
 public Organisers(APIConnector connector)
 {
     this.connector = connector;
 }