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