public MainPageVm(IApplicationWebService iWebService, IInternalModelService iService) { modIWebService = iWebService; modIInternalService = iService; LoginVkCommand = new AsyncCommand(OnLoginVkCommand); LoginTwitterCommand = new AsyncCommand(OnLoginTwitterCommand); }
protected AbstractEntityBase() { GenerateId(); modModelService = ServiceLocator.Current.GetInstance<IInternalModelService>(); modCacheService = ServiceLocator.Current.GetInstance<ICacheService>(); }
protected AbstractEntityBase() { GenerateId(); modModelService = ServiceLocator.Current.GetInstance <IInternalModelService>(); modCacheService = ServiceLocator.Current.GetInstance <ICacheService>(); }