示例#1
0
文件: Program.cs 项目: sameeri/solid
        private static void SaveImages()
        {
            _saveImages = new SaveImages();
            var image = new TelogicalImage("Awesome image", "C:\\ProtectedData");

            _saveImages.Save(image);
        }
示例#2
0
 public void Save(TelogicalImage image)
 {
     Console.WriteLine("Lets save this propreitary telogical image {0}, to {1}", image.Name, image.Path);
 }
示例#3
0
 public void Save(TelogicalImage image)
 {
     Console.WriteLine("Lets save this propreitary telogical image {0}, to {1}", image.Name, image.Path);
 }
示例#4
0
 private static void SaveImages()
 {
     _saveImages = new SaveImages();
     var image = new TelogicalImage("Awesome image" , "C:\\ProtectedData");
     _saveImages.Save(image);
 }