Example #1
0
        static void Main(string[] args)
        {
            Photo newPhoto = new Photo("imagePath");

            var filters = new PhotoFilters();

            Action <Photo> filterDelegate = filters.Compress;

            filterDelegate += filters.Brighten;

            newPhoto.ApplyFilter(filterDelegate);
        }