public void SetUp() { SmeedeeApp.Instance.ServiceLocator.Bind<IBackgroundWorker>(new NoBackgroundInvocation()); fakeService = new UnitTests.Fakes.FakeLatestCommitsService(); countingService = new CallCountingLatestCommitsService(); fakePersistence = new FakePersistenceService(); SmeedeeApp.Instance.ServiceLocator.Bind<ILatestCommitsService>(fakeService); SmeedeeApp.Instance.ServiceLocator.Bind<IPersistenceService>(fakePersistence); model = new LatestCommits(); }
public LatestCommitsConfigTableViewSource(UITableViewController controller) : base(SmeedeeApp.Instance.AvailableWidgets.Where(e => e.SettingsType == typeof(LatestCommitsConfigTableViewController)).First()) { this.model = new LatestCommits(); }
public LatestCommitsTableSource(LatestCommitsWidget controller, LatestCommits model) { this.model = model; this.controller = controller; }
public LatestCommitsWidget() : base("LatestCommits", null) { model = new LatestCommits(); }
private void Initialize() { model = new LatestCommits(); InflateLayout(); Refresh(); }
public LatestCommitsViewModel() { model = new LatestCommits(); Items = new ObservableCollection<LatestCommitsItemViewModel>(); }