Beispiel #1
0
 static void Main(string[] args)
 {
     SamplesUtil.InvokeMain(() =>
     {
         var sample = new StorageSample();
         sample.MainFunction(args);
     });
 }
Beispiel #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"));
 }
Beispiel #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"));
        }
 static void Main(string[] args)
 {
     SamplesUtil.InvokeMain(() =>
     {
         var sample = new StorageSample();
         sample.MainFunction(args);
     });
 }