public AppUserViewModel(IAppUserView view, CompositionContainer compositionContainer) { View = view; View.ViewModel = this; ShellContainer = compositionContainer; NewAppUserCommand = new CommandHandler <object, object>(NewAppUserCommandAction); EditAppUserCommand = new CommandHandler <object, object>(EditAppUserCommandAction); DeleteAppUserCommand = new CommandHandler <object, object>(DeleteAppUserCommandAction); _appUserCollection = new Lazy <OptimizedObservableCollection <AppUser> >(); }
public AppUserViewModel(IAppUserView view, CompositionContainer compositionContainer) { View = view; View.ViewModel = this; ShellContainer = compositionContainer; NewAppUserCommand = new CommandHandler<object, object>(NewAppUserCommandAction); EditAppUserCommand = new CommandHandler<object, object>(EditAppUserCommandAction); DeleteAppUserCommand = new CommandHandler<object, object>(DeleteAppUserCommandAction); _appUserCollection = new Lazy<OptimizedObservableCollection<AppUser>>(); }