public App() { this.InitializeComponent(); ZeroApp.On(this) .WithContainer(TinyIocZeroContainer.Build()) .RegisterShell(() => new AppShell()) .RegisterShell(() => new TabbedShell()) .StartWith <AppShell>(); }
public void SetUp() { Xamarin.Forms.Mocks.MockForms.Init(); this._tinyIoCContainer = new TinyIoCContainer(); this._app = new Application(); ZeroApp .On(this._app) .WithContainer(TinyIocZeroContainer.Build(this._tinyIoCContainer)) .RegisterShell(() => new FirstShell()) .Start(); }