using System.Threading.Tasks; namespace TinaX.Systems.Configuration.CommandLine { /// /// Represents command line arguments as an . /// public class CommandLineConfigurationSource : IConfigurationSource { private ICommandLineArgs _args; public CommandLineConfigurationSource(ICommandLineArgs args) { _args = args; } public Task BuildAsync(IConfigurationBuilder builder) => Task.FromResult(new CommandLineConfigurationProvider(_args)); } }