Beispiel #1
0
        private void SetIoc()
        {
            var resolverContainer = new SimpleContainer();

            resolverContainer.Register <IDevice>(r => AndroidDevice.CurrentDevice);
            resolverContainer.RegisterSingle <IPayPalApiClient, PayPalApiClient>();

            Resolver.SetResolver(resolverContainer.GetResolver());
        }