예제 #1
0
        public Store2.Catalogs.Service GetCatalogsService()
        {
            var service = new Store2.Catalogs.Service(Client)
            {
                BaseURL  = BaseURL ?? Store2.Catalogs.Service.DefaultBaseURL,
                User     = User ?? Environment.GetEnvironmentVariable("STORE2_USER"),
                Password = Password ?? Environment.GetEnvironmentVariable("STORE2_PASSWORD")
            };

            return(service);
        }
예제 #2
0
 public Store2.Catalogs.Service GetCatalogsService()
 {
     var service = new Store2.Catalogs.Service(Client)
     {
         BaseURL = BaseURL ?? Store2.Catalogs.Service.DefaultBaseURL,
         User = User ?? Environment.GetEnvironmentVariable("STORE2_USER"),
         Password = Password ?? Environment.GetEnvironmentVariable("STORE2_PASSWORD")
     };
     return service;
 }