using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tango.BL.Enumerations; using Tango.SharedUI; namespace Tango.PPC.Jobs.Dialogs { /// /// Represents the a job type picker view model /// /// public class JobCreationViewVM : DialogViewVM { /// /// Gets or sets the supported job types. /// public List SupportedJobTypes { get; set; } private JobTypes _selectedJobType; /// /// Gets or sets the type of the selected job. /// public JobTypes SelectedJobType { get { return _selectedJobType; } set { _selectedJobType = value; RaisePropertyChangedAuto(); } } /// /// Gets or sets the supported color spaces. /// public List SupportedColorSpaces { get; set; } private ColorSpaces _selectedColorSpace; /// /// Gets or sets the selected color space. /// public ColorSpaces SelectedColorSpace { get { return _selectedColorSpace; } set { _selectedColorSpace = value; RaisePropertyChangedAuto(); } } /// /// Initializes a new instance of the class. /// /// The supported job types. /// The supported color spaces public JobCreationViewVM(List supportedJobTypes,List supportedColorSpaces) : base() { SupportedJobTypes = supportedJobTypes; SupportedColorSpaces = supportedColorSpaces; } } }