public LoginPageModel(IRestInterface restInterface) { _restInterface = restInterface; HomePage = new Command(GoToHomePage); SignUp = new Command(GoToSingUpPage); }
public EventsPageModel(IRestInterface restInterface) { Activity = new ObservableCollection <Event>(); _restInterface = restInterface; LoadEvents(); }
public TeamPageModel(IRestInterface restInterface) { _restInterface = restInterface; AddTeam(); }
public SignUpPageModel(IRestInterface restInterface) { CreateAccount = new Command(GoToLoginPage); _restInterface = restInterface; }
public RestfulClient(IRestInterface restInterface, ILogger <RestfulClient> logger) { _restInterface = restInterface; _logger = logger; }
public void SetUp() { restClient = Substitute.For <IRestClient>(); adapter = new RestAdapter(restClient); client = adapter.Create <IRestInterface>(); }
public void SetUp() { restClient = Substitute.For<IRestClient>(); adapter = new RestAdapter(restClient); client = adapter.Create<IRestInterface>(); }