/// <summary> /// Регистрация сервисов обмена данными /// </summary> private static void RegisterRestClient(IBoutiqueContainer container, IXamarinConfigurationDomain configuration) => configuration.HostConfiguration. Void(hostConfig => container.Register(service => HttpClientFactory.GetRestClient(hostConfig)));
/// <summary> /// Регистрация сервисов обмена данными /// </summary> public static void RegisterServices(IBoutiqueContainer container, IXamarinConfigurationDomain configuration) => container. Void(_ => RegisterRestClient(container, configuration)). Void(_ => RegisterRestServices(container));