public void ConfigureServices(XamarinHostBuilderContext ctx, IServiceCollection services) { try { _methods.ConfigureServicesDelegate(ctx, services); } catch (Exception ex) { if (ex is TargetInvocationException) { ExceptionDispatchInfo.Capture(ex.InnerException).Throw(); } throw; } }
public void ConfigureServices(XamarinHostBuilderContext context) { GlobalHasBeenConfigured = true; }
public void ConfigureServices(XamarinHostBuilderContext ctx, IServiceCollection services) { GlobalHasBeenConfigured = true; HasBeenConfigured = true; }
public void ConfigureServices(XamarinHostBuilderContext context, IServiceCollection services, string test) { GlobalHasBeenConfigured = true; }
public void ConfigureServices(XamarinHostBuilderContext ctx, IServiceCollection services) { services.AddTransient(typeof(MainPage)); }