public TeacherViewModel (IEmployee model, IEduProgramProfile eduProgramProfile, EmployeeDirectoryTeachersViewModel rootViewModel, ViewModelIndexer indexer)
     : base (model)
 {
     RootViewModel = rootViewModel;
     EduProgramProfile = eduProgramProfile;
     Indexer = indexer;
 }
Exemplo n.º 2
0
 public TeacherViewModel(IEmployee model, IEduProgramProfile eduProgramProfile, EmployeeDirectoryTeachersViewModel rootViewModel, ViewModelIndexer indexer)
     : base(model)
 {
     RootViewModel     = rootViewModel;
     EduProgramProfile = eduProgramProfile;
     Indexer           = indexer;
 }
Exemplo n.º 3
0
 public EduProgramProfileObrnadzorEduFormsViewModel(
     IEduProgramProfile model,
     EduProgramProfileDirectoryEduFormsViewModel rootViewModel,
     ViewModelIndexer indexer) : base(model)
 {
     RootViewModel = rootViewModel;
     Indexer       = indexer;
 }
 public EduProgramProfileObrnadzorDocumentsViewModel (
     IEduProgramProfile model,
     EduProgramProfileDirectoryDocumentsViewModel rootViewModel,
     ViewModelIndexer indexer): base (model)
 {
     RootViewModel = rootViewModel;
     Indexer = indexer;
 }
Exemplo n.º 5
0
 public EduProgramProfileDocumentsViewModel(
     IEduProgramProfile model,
     EduProgramProfileDirectoryDocumentsViewModel rootViewModel,
     ViewModelIndexer indexer) : base(model)
 {
     RootViewModel = rootViewModel;
     Indexer       = indexer;
 }
Exemplo n.º 6
0
        public static string FormatTitle(this IEduProgramProfile epp, bool withEduProgramCode = true)
        {
            if (withEduProgramCode)
            {
                return(UniversityFormatHelper.FormatEduProgramProfileTitle(
                           epp.EduProgram.Code,
                           epp.EduProgram.Title,
                           epp.ProfileCode,
                           epp.ProfileTitle
                           ));
            }

            return(UniversityFormatHelper.FormatEduProgramProfileTitle(
                       epp.EduProgram.Title,
                       epp.ProfileCode,
                       epp.ProfileTitle
                       ));
        }
 public EduProgramProfileObrnadzorEduFormsViewModel (IEduProgramProfile model, ViewModelContext context, ViewModelIndexer indexer)
 {
     Model = model;
     Context = context;
     Index = indexer.GetNextIndex ();
 }
 public EduProgramProfileViewModel(IEduProgramProfile model, IViewModelContext viewModelContext) : base(model)
 {
     Context = viewModelContext;
 }
 public EduProgramProfileViewModel (IEduProgramProfile model, EduProgramModuleViewModel rootViewModel): base (model)
 {
     RootViewModel = rootViewModel;
 }
Exemplo n.º 10
0
 protected EduProgramProfileViewModelBase(IEduProgramProfile model)
 {
     EduProgramProfile = model;
 }
Exemplo n.º 11
0
 public EduProgramProfileEditModel(IEduProgramProfile model, ViewModelContext context) : base(model)
 {
     Context = context;
 }
Exemplo n.º 12
0
 // TODO: Extend IDocument instead, rename to WhereDocumentType
 public static IEnumerable <IDocument> GetDocumentsOfType(this IEduProgramProfile eduProgramProfile, SystemDocumentType documentType)
 {
     return(eduProgramProfile.Documents.Where(d => d.GetSystemDocumentType() == documentType));
 }
 public EduProgramProfileViewModel (IEduProgramProfile model, EmployeeDirectoryTeachersViewModel rootViewModel)
     : base (model)
 {
     RootViewModel = rootViewModel;
 }
 protected EduProgramProfileViewModelBase (IEduProgramProfile model)
 {
     Model = model;
 }
 public EduProgramProfileViewModel(IEduProgramProfile eduProgramProfile) : base(eduProgramProfile)
 {
 }
Exemplo n.º 16
0
 public EduProgramProfileViewModel(IEduProgramProfile model, EmployeeDirectoryTeachersViewModel rootViewModel)
     : base(model)
 {
     RootViewModel = rootViewModel;
 }
 public EduProgramProfileViewModel(IEduProgramProfile model, EduProgramModuleViewModel rootViewModel) : base(model)
 {
     RootViewModel = rootViewModel;
 }
 public EduProgramProfileViewModel (IEduProgramProfile model) : base (model)
 {
 }
Exemplo n.º 19
0
 public EduProgramProfileViewModel(IEduProgramProfile model) : base(model)
 {
 }
 public EduProgramProfileEditViewModel (IEduProgramProfile model, ViewModelContext context): base (model)
 {
     Context = context;
 }