aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/LibraryContext.cs
blob: 9fd76cf5c312717ab8f656be6ce5828595e6f80c (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
26
27
28
29
30
31
32
33
34
35
36
37
// 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
{
    using System.Collections.Generic;
    using System.Threading;
    using WixToolset.Data;
    using WixToolset.Extensibility;
    using WixToolset.Extensibility.Data;
    using WixToolset.Extensibility.Services;

    internal class LibraryContext : ILibraryContext
    {
        internal LibraryContext(IWixToolsetServiceProvider serviceProvider)
        {
            this.ServiceProvider = serviceProvider;
        }

        public IWixToolsetServiceProvider ServiceProvider { get; }

        public IMessaging Messaging { get; set; }

        public bool BindFiles { get; set; }

        public IEnumerable<IBindPath> BindPaths { get; set; }

        public IEnumerable<ILibrarianExtension> Extensions { get; set; }

        public string LibraryId { get; set; }

        public IEnumerable<Localization> Localizations { get; set; }

        public IEnumerable<Intermediate> Intermediates { get; set; }

        public CancellationToken CancellationToken { get; set; }
    }
}