public UserManageViewModel(IViewContainer container, string sessionId) { Container = container; SessionId = sessionId; Provider = new UserManageProvider(); Provider.ProfileEvent = ProfileLoadedEvent; }
public UserComposeViewModel(IViewContainer container, ViewModelRelationship parent, string sessionId) { Parent = parent; Container = container; SessionId = sessionId; Provider = new UserManageProvider(); Provider.ProfileEvent = ProfileLoadedEvent; Provider.ProfileEvent += (parent.ViewModel as UserManageViewModel).ProfileLoadedEvent; }
public DispatchComposeViewModel(IViewContainer container, ViewModelRelationship parent, ClassroomViewModel classroomViewModel, CourseViewModel courseViewModel, string sessionId) { Parent = parent; refClassroomViewModel = classroomViewModel; refCourseViewModel = courseViewModel; Container = container; SessionId = sessionId; Provider = new DispatchManageProvider(); Provider.DispatchManageEvent = DispatchManageLoadedEvent; Provider.DispatchManageEvent += (parent.ViewModel as DispatchManageViewModel).DispatchManageLoadedEvent; userMgrProvider = new UserManageProvider(); userMgrProvider.ProfileEvent = ProfileELoadedEvent; }