// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
/// Builds a service from a tuple of layers and a root service.
///
/// Automatically implemented for tuples of layers with a service at the end,
/// supporting up to 16 elements. Layers apply outer to inner.