예제 #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);
        }
예제 #2
0
 public GettinEvents(APIConnector connector)
 {
     this.connector = connector;
 }
예제 #3
0
 public Orders(APIConnector aPIConnector)
 {
     this.aPIConnector = aPIConnector;
 }
예제 #4
0
 public Organisers(APIConnector connector)
 {
     this.connector = connector;
 }