Exemplo n.º 1
0
 public MainPageVm(IApplicationWebService iWebService, IInternalModelService iService)
 {
     modIWebService      = iWebService;
     modIInternalService = iService;
     LoginVkCommand      = new AsyncCommand(OnLoginVkCommand);
     LoginTwitterCommand = new AsyncCommand(OnLoginTwitterCommand);
 }
Exemplo n.º 2
0
		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>();
		}
Exemplo n.º 4
0
 protected AbstractEntityBase()
 {
     GenerateId();
     modModelService = ServiceLocator.Current.GetInstance <IInternalModelService>();
     modCacheService = ServiceLocator.Current.GetInstance <ICacheService>();
 }