Пример #1
0
 static void Main(string[] args)
 {
     SamplesUtil.InvokeMain(() =>
     {
         var sample = new StorageSample();
         sample.MainFunction(args);
     });
 }
Пример #2
0
 public void TestRun()
 {
     // Just observe that it doesn't throw an exception.
     var sample = new StorageSample();
     sample.Run(
         sample.GetApplicationDefaultCredentials(),
         System.Environment.GetEnvironmentVariable("GOOGLE_PROJECT_ID"),
         System.Environment.GetEnvironmentVariable("GOOGLE_BUCKET"));
 }
Пример #3
0
        public void TestRun()
        {
            // Just observe that it doesn't throw an exception.
            var sample = new StorageSample();

            sample.Run(
                sample.GetApplicationDefaultCredentials(),
                System.Environment.GetEnvironmentVariable("GOOGLE_PROJECT_ID"),
                System.Environment.GetEnvironmentVariable("GOOGLE_BUCKET"));
        }
Пример #4
0
 static void Main(string[] args)
 {
     SamplesUtil.InvokeMain(() =>
     {
         var sample = new StorageSample();
         sample.MainFunction(args);
     });
 }