public void ApplyBrightness(Photo photo)
 {
     Console.WriteLine("Apply brightness");
 }
示例#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");
 }
示例#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");
 }
示例#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");
 }
 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");
 }
 public void Resize(Photo photo)
 {
     throw new NotImplementedException();
 }
 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");
 }