public void ApplyBrightness(Photo photo)
 {
     Console.WriteLine("Apply brightness");
 }
Beispiel #2
0
 public void ApplyContrast(Photo photo)
 {
     Console.WriteLine("Applying Contrast...");
 }
 public void ApplyContrast(Photo photo)
 {
     Console.WriteLine("Äpply contrast");
 }
 internal void ApplyContrast(Photo photo)
 {
     Console.WriteLine("Apply Contrast");
 }
Beispiel #5
0
 static void RemoveRedEyeFilter(Photo photo) //Our custom filter
 {
     Console.WriteLine("Apply RemoveRedEye");
 }
 static void RemoveRedEye(Photo photo)
 {
     Console.WriteLine("Remove Red Eye");
 }
 public void AutoFilter(Photo photo)
 {
     Console.WriteLine("Applying Auto filter");
 }
 public void ApplyEyeMask(Photo photo)
 {
     Console.WriteLine("Apply Eye Mask");
 }
 public void ApplyBlackAndWhite(Photo photo)
 {
     Console.WriteLine("Apply Black and White");
 }
 public void ApplyDogFacialParts(Photo photo)
 {
     Console.WriteLine("Apply Dog Facial Parts");
 }
 public void ApplyMustache(Photo photo)
 {
     Console.WriteLine("Apply Mustache");
 }
Beispiel #12
0
 static void RemoveRedEyerFilter(Photo photo)
 {
     Console.WriteLine("Apply RemoveRedEyer");
 }
Beispiel #13
0
 static void RemoveRedEye(Photo photo) => Console.WriteLine("Removed RedEye");
Beispiel #14
0
 public void Resize(Photo photo)
 {
     Console.WriteLine("Apply Resize.");
 }
Beispiel #15
0
 public void ApplyContrast(Photo photo)
 {
     Console.WriteLine("Apply contrast");
 }
 public void ApplyFlowerCrown(Photo photo)
 {
     Console.WriteLine("Apply Flower Crown");
 }
Beispiel #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");
        }
Beispiel #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...");
 }
Beispiel #19
0
 //create own filter to use with delegate
 static void RemoveRedEyeFilter(Photo photo)
 {
     Console.WriteLine("Remove RedEye");
 }
 static void Test2(Photo photo)
 {
     Console.WriteLine("\nTEST2!!!\n");
 }
 public void GreyScale(Photo photo)
 {
     Console.WriteLine("Applying Grayscale");
 }
 public void Resize(Photo photo)
 {
     throw new NotImplementedException();
 }
 internal void Resize(Photo photo)
 {
     Console.WriteLine("Resize photo");
 }
Beispiel #24
0
 static void RemoveRedEyeFilter(Photo photo)
 {
     System.Console.WriteLine("Apply RemoveRedEye");
 }
Beispiel #25
0
 static void RemoveRedEye(Photo photo)
 {
     Console.WriteLine("Apply RemoveRedEye");
 }
 public void Resize(Photo photo)
 {
     Console.WriteLine("Photo Resize");
 }
Beispiel #27
0
 public void ApplyBrightness(Photo photo)
 {
     Console.WriteLine("Applying Brightness...");
 }
Beispiel #28
0
 static void AddWrinkles(Photo photo)
 {
     Console.WriteLine("Added 2 Wrinkles");
     //return 2;
 }
 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");
 }
Beispiel #31
0
 public void ApplyBrightness(Photo photo)
 {
     Console.WriteLine("Apply brightness");
 }
 internal void ApplyBrightness(Photo photo)
 {
     Console.WriteLine("ApplyBrightness");
 }
Beispiel #33
0
 public void Resize(Photo photo)
 {
     Console.WriteLine("Resize photo");
 }
Beispiel #34
0
 //allows for developers to add custom filters
 static void RemoveRedEyeFilter(Photo photo)
 {
     Console.WriteLine("Apply remove red eye");
 }
 static void RemoveRedEyeFilter(Photo photo)
 {
     Console.WriteLine("RemoveRedEyeFilter");
 }
Beispiel #36
0
 //We can now create our own filter without recompiling the code
 static void ApplySaturation(Photo photo)
 {
     Console.WriteLine("Apply staturation");
 }