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