public AccountPersonViewModel()
        {
            event_aggregator = ServiceLocator.Current.GetInstance <IEventAggregator>();
            service_factory  = ServiceLocator.Current.GetInstance <IServiceFactory>();

            CurrentPerson = new AccountPersonWrapper(new AccountPerson());
            BindCommands();
        }
Exemplo n.º 2
0
        public AccountPersonViewModel()
        {
            event_aggregator = Unity.Container.Resolve <IEventAggregator>();
            service_factory  = Unity.Container.Resolve <IServiceFactory>();

            CurrentPerson = new AccountPersonWrapper(new AccountPerson());
            BindCommands();
        }