aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/CommandLine/CommandLineContext.cs
blob: 2ff2c1fd6812798b26371fd57653d42eb4bc53ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.

namespace WixToolset.Core.CommandLine
{
    using System;
    using WixToolset.Extensibility.Services;

    internal class CommandLineContext : ICommandLineContext
    {
        public CommandLineContext(IServiceProvider serviceProvider)
        {
            this.ServiceProvider = serviceProvider;
        }

        public IServiceProvider ServiceProvider { get; }

        public IMessaging Messaging { get; set; }

        public IExtensionManager ExtensionManager { get; set; }

        public string Arguments { get; set; }

        public string[] ParsedArguments { get; set; }
    }
}