diff options
author | Rob Mensching <rob@firegiant.com> | 2021-02-11 13:30:53 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2021-02-11 13:32:01 -0800 |
commit | 918475619d98474100bbd8736df1a284ac5231aa (patch) | |
tree | 20bab780316bd14cd8b0fdda311a3466f97bab79 /src | |
parent | a52e79268228a5feb87f5ba763fb4bbac6f96681 (diff) | |
download | wix-918475619d98474100bbd8736df1a284ac5231aa.tar.gz wix-918475619d98474100bbd8736df1a284ac5231aa.tar.bz2 wix-918475619d98474100bbd8736df1a284ac5231aa.zip |
Add ICompilerContext.IsCurrentPlatfom64Bit
Diffstat (limited to 'src')
-rw-r--r-- | src/WixToolset.Extensibility/Data/ICompileContext.cs | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/src/WixToolset.Extensibility/Data/ICompileContext.cs b/src/WixToolset.Extensibility/Data/ICompileContext.cs index 1c3620b6..5da5ca84 100644 --- a/src/WixToolset.Extensibility/Data/ICompileContext.cs +++ b/src/WixToolset.Extensibility/Data/ICompileContext.cs | |||
@@ -8,13 +8,24 @@ namespace WixToolset.Extensibility.Data | |||
8 | using WixToolset.Data; | 8 | using WixToolset.Data; |
9 | using WixToolset.Extensibility.Services; | 9 | using WixToolset.Extensibility.Services; |
10 | 10 | ||
11 | #pragma warning disable 1591 // TODO: add documentation | 11 | /// <summary> |
12 | /// Context provided to the compiler. | ||
13 | /// </summary> | ||
12 | public interface ICompileContext | 14 | public interface ICompileContext |
13 | { | 15 | { |
16 | /// <summary> | ||
17 | /// Service provider made available to the compiler and its extensions. | ||
18 | /// </summary> | ||
14 | IWixToolsetServiceProvider ServiceProvider { get; } | 19 | IWixToolsetServiceProvider ServiceProvider { get; } |
15 | 20 | ||
21 | /// <summary> | ||
22 | /// Unique identifier for the compilation. | ||
23 | /// </summary> | ||
16 | string CompilationId { get; set; } | 24 | string CompilationId { get; set; } |
17 | 25 | ||
26 | /// <summary> | ||
27 | /// Set of extensions provided to the compiler. | ||
28 | /// </summary> | ||
18 | IEnumerable<ICompilerExtension> Extensions { get; set; } | 29 | IEnumerable<ICompilerExtension> Extensions { get; set; } |
19 | 30 | ||
20 | /// <summary> | 31 | /// <summary> |
@@ -23,8 +34,19 @@ namespace WixToolset.Extensibility.Data | |||
23 | /// <value>The platform which the compiler will use when defaulting 64-bit attributes and elements.</value> | 34 | /// <value>The platform which the compiler will use when defaulting 64-bit attributes and elements.</value> |
24 | Platform Platform { get; set; } | 35 | Platform Platform { get; set; } |
25 | 36 | ||
37 | /// <summary> | ||
38 | /// Calculates whether the target platform for the compilation is 64-bit or not. | ||
39 | /// </summary> | ||
40 | bool IsCurrentPlatform64Bit { get; } | ||
41 | |||
42 | /// <summary> | ||
43 | /// Source document being compiled. | ||
44 | /// </summary> | ||
26 | XDocument Source { get; set; } | 45 | XDocument Source { get; set; } |
27 | 46 | ||
47 | /// <summary> | ||
48 | /// Cancellation token to abort cancellation. | ||
49 | /// </summary> | ||
28 | CancellationToken CancellationToken { get; set; } | 50 | CancellationToken CancellationToken { get; set; } |
29 | } | 51 | } |
30 | } | 52 | } |