Пример #1
0
 public PersonPictureService(IServiceLocatorMaster serviceLocator)
     : base(serviceLocator)
 {
     SupportedSizes.Add(new PictureSize {
         Height = 24, Width = 24
     });
     SupportedSizes.Add(new PictureSize {
         Height = 40, Width = 40
     });
     SupportedSizes.Add(new PictureSize {
         Height = 47, Width = 47
     });
     SupportedSizes.Add(new PictureSize {
         Height = 64, Width = 64
     });
     SupportedSizes.Add(new PictureSize {
         Height = 70, Width = 70
     });
     SupportedSizes.Add(new PictureSize {
         Height = 128, Width = 128
     });
     SupportedSizes.Add(new PictureSize {
         Height = 256, Width = 256
     });
 }
Пример #2
0
 public CustomReportTemplateIconService(IServiceLocatorMaster serviceLocator) : base(serviceLocator)
 {
     SupportedSizes.Add(new PictureSize {
         Height = 24, Width = 24
     });
     SupportedSizes.Add(new PictureSize {
         Height = 64, Width = 64
     });
     SupportedSizes.Add(new PictureSize {
         Height = 40, Width = 40
     });
     SupportedSizes.Add(new PictureSize {
         Height = 47, Width = 47
     });
 }
Пример #3
0
 public DepartmentIconService(IServiceLocatorMaster serviceLocator)
     : base(serviceLocator)
 {
     SupportedSizes.Add(new PictureSize {
         Height = 80, Width = 45
     });
     SupportedSizes.Add(new PictureSize {
         Height = 46, Width = 26
     });
     SupportedSizes.Add(new PictureSize {
         Height = 24, Width = 48
     });
     SupportedSizes.Add(new PictureSize {
         Height = 164, Width = 92
     });
 }