Пример #1
0
 public void ApplyBrightness(Photo photo)
 {
     Console.WriteLine("Apply brightness");
 }
Пример #2
0
 public void ApplyContrast(Photo photo)
 {
     Console.WriteLine("Applying Contrast...");
 }
Пример #3
0
 public void ApplyContrast(Photo photo)
 {
     Console.WriteLine("Äpply contrast");
 }
Пример #4
0
 internal void ApplyContrast(Photo photo)
 {
     Console.WriteLine("Apply Contrast");
 }
Пример #5
0
 static void RemoveRedEyeFilter(Photo photo) //Our custom filter
 {
     Console.WriteLine("Apply RemoveRedEye");
 }
 static void RemoveRedEye(Photo photo)
 {
     Console.WriteLine("Remove Red Eye");
 }
Пример #7
0
 public void AutoFilter(Photo photo)
 {
     Console.WriteLine("Applying Auto filter");
 }
Пример #8
0
 public void ApplyEyeMask(Photo photo)
 {
     Console.WriteLine("Apply Eye Mask");
 }
Пример #9
0
 public void ApplyBlackAndWhite(Photo photo)
 {
     Console.WriteLine("Apply Black and White");
 }
Пример #10
0
 public void ApplyDogFacialParts(Photo photo)
 {
     Console.WriteLine("Apply Dog Facial Parts");
 }
Пример #11
0
 public void ApplyMustache(Photo photo)
 {
     Console.WriteLine("Apply Mustache");
 }
Пример #12
0
 static void RemoveRedEyerFilter(Photo photo)
 {
     Console.WriteLine("Apply RemoveRedEyer");
 }
Пример #13
0
 static void RemoveRedEye(Photo photo) => Console.WriteLine("Removed RedEye");
Пример #14
0
 public void Resize(Photo photo)
 {
     Console.WriteLine("Apply Resize.");
 }
Пример #15
0
 public void ApplyContrast(Photo photo)
 {
     Console.WriteLine("Apply contrast");
 }
Пример #16
0
 public void ApplyFlowerCrown(Photo photo)
 {
     Console.WriteLine("Apply Flower Crown");
 }
Пример #17
0
        //i could also create my own filter and add it to the delegate

        public static void RemoveRedeye(Photo photo)
        {
            Console.WriteLine("removing redeye");
        }
Пример #18
0
 // Now the the framework can be extended without recompiling the code of the framework and redeploy it
 // The signature has to fit the signature of the delegate (PhotoFilterHandler) in PhotoProcessor
 static void RemoveRedEyeFilter(Photo photo)
 {
     Console.WriteLine("Applying red eye filter...");
 }
Пример #19
0
 //create own filter to use with delegate
 static void RemoveRedEyeFilter(Photo photo)
 {
     Console.WriteLine("Remove RedEye");
 }
Пример #20
0
 static void Test2(Photo photo)
 {
     Console.WriteLine("\nTEST2!!!\n");
 }
Пример #21
0
 public void GreyScale(Photo photo)
 {
     Console.WriteLine("Applying Grayscale");
 }
Пример #22
0
 public void Resize(Photo photo)
 {
     throw new NotImplementedException();
 }
Пример #23
0
 internal void Resize(Photo photo)
 {
     Console.WriteLine("Resize photo");
 }
Пример #24
0
 static void RemoveRedEyeFilter(Photo photo)
 {
     System.Console.WriteLine("Apply RemoveRedEye");
 }
Пример #25
0
 static void RemoveRedEye(Photo photo)
 {
     Console.WriteLine("Apply RemoveRedEye");
 }
Пример #26
0
 public void Resize(Photo photo)
 {
     Console.WriteLine("Photo Resize");
 }
Пример #27
0
 public void ApplyBrightness(Photo photo)
 {
     Console.WriteLine("Applying Brightness...");
 }
Пример #28
0
 static void AddWrinkles(Photo photo)
 {
     Console.WriteLine("Added 2 Wrinkles");
     //return 2;
 }
Пример #29
0
 public void Resize(Photo photo)
 {
     Console.WriteLine("Resize photo");
 }
 //to add a new filter, while not changing the PhotoProcessor / PhotoFilters classes:
 static void RemoveRedEyeFilter(Photo photo) //it must have the same signature as the delegate
 {
     System.Console.WriteLine("Apply remove red eye");
 }
Пример #31
0
 public void ApplyBrightness(Photo photo)
 {
     Console.WriteLine("Apply brightness");
 }
Пример #32
0
 internal void ApplyBrightness(Photo photo)
 {
     Console.WriteLine("ApplyBrightness");
 }
Пример #33
0
 public void Resize(Photo photo)
 {
     Console.WriteLine("Resize photo");
 }
Пример #34
0
 //allows for developers to add custom filters
 static void RemoveRedEyeFilter(Photo photo)
 {
     Console.WriteLine("Apply remove red eye");
 }
Пример #35
0
 static void RemoveRedEyeFilter(Photo photo)
 {
     Console.WriteLine("RemoveRedEyeFilter");
 }
Пример #36
0
 //We can now create our own filter without recompiling the code
 static void ApplySaturation(Photo photo)
 {
     Console.WriteLine("Apply staturation");
 }