Esempio n. 1
0
 public void Describe(DescribeFilterContext describe) {
     describe.For("Transform", T("Transform"), T("Transform"))
         .Element("Resize", T("Resize"), T("Resizes using predefined height or width."),
                  ApplyFilter,
                  DisplayFilter,
                  "ResizeFilter"
         );
 }
 public void Describe(DescribeFilterContext describe) {
     describe.For("Transform", T("Transform"), T("Transform"))
         .Element("FormatAndResize", T("Format and Resize"), T("A single step filter that can change format as well as resize (preferred)."),
                  ApplyFilter,
                  DisplayFilter,
                  "FormatAndResizeFilter"
         );
 }
        public IEnumerable<TypeDescriptor<FilterDescriptor>> DescribeFilters() {
            var context = new DescribeFilterContext();

            foreach (var provider in _filterProviders) {
                provider.Describe(context);
            }
            return context.Describe();
        }
Esempio n. 4
0
 public void Describe(DescribeFilterContext describe) {
     describe.For("Transform", T("Transform"), T("Transform"))
         .Element("Format", T("Format"), T("Change the format of the image."),
                  ApplyFilter,
                  DisplayFilter,
                  "FormatFilter"
         );
 }