Exemplo n.º 1
0
 public MistClass(MistStorage storage)
 {
     if (storage != null)
     {
         Console.WriteLine(string.Format("MistClass(storage({0}, {1}) constructor.", storage.storageRoot, storage.maxStorageInGB));
     }
     else
     {
         Console.WriteLine("MistClass(null) constructor -- bugbug.");
     }
     this.storage = storage;
 }
Exemplo n.º 2
0
 public MistClass()
 {
     Console.WriteLine("MistClass() constructor.");
     this.storage = new MistStorage(System.IO.Path.GetTempPath(), 10);
 }