diff options
Diffstat (limited to 'src/WixToolset.Extensibility/Data/IBindContext.cs')
| -rw-r--r-- | src/WixToolset.Extensibility/Data/IBindContext.cs | 67 |
1 files changed, 63 insertions, 4 deletions
diff --git a/src/WixToolset.Extensibility/Data/IBindContext.cs b/src/WixToolset.Extensibility/Data/IBindContext.cs index fd5a3ee4..ee165671 100644 --- a/src/WixToolset.Extensibility/Data/IBindContext.cs +++ b/src/WixToolset.Extensibility/Data/IBindContext.cs | |||
| @@ -2,50 +2,109 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Extensibility.Data | 3 | namespace WixToolset.Extensibility.Data |
| 4 | { | 4 | { |
| 5 | using System; | ||
| 5 | using System.Collections.Generic; | 6 | using System.Collections.Generic; |
| 6 | using System.Threading; | 7 | using System.Threading; |
| 7 | using WixToolset.Data; | 8 | using WixToolset.Data; |
| 8 | using WixToolset.Extensibility.Services; | ||
| 9 | 9 | ||
| 10 | #pragma warning disable 1591 // TODO: add documentation | 10 | /// <summary> |
| 11 | /// Bind context. | ||
| 12 | /// </summary> | ||
| 11 | public interface IBindContext | 13 | public interface IBindContext |
| 12 | { | 14 | { |
| 13 | IWixToolsetServiceProvider ServiceProvider { get; } | 15 | /// <summary> |
| 14 | 16 | /// Service provider. | |
| 17 | /// </summary> | ||
| 18 | IServiceProvider ServiceProvider { get; } | ||
| 19 | |||
| 20 | /// <summary> | ||
| 21 | /// Counnt of threads to use in cabbing. | ||
| 22 | /// </summary> | ||
| 15 | int CabbingThreadCount { get; set; } | 23 | int CabbingThreadCount { get; set; } |
| 16 | 24 | ||
| 25 | /// <summary> | ||
| 26 | /// Cabinet cache path. | ||
| 27 | /// </summary> | ||
| 17 | string CabCachePath { get; set; } | 28 | string CabCachePath { get; set; } |
| 18 | 29 | ||
| 30 | /// <summary> | ||
| 31 | /// Codepage for result. | ||
| 32 | /// </summary> | ||
| 19 | int Codepage { get; set; } | 33 | int Codepage { get; set; } |
| 20 | 34 | ||
| 35 | /// <summary> | ||
| 36 | /// Default compression level. | ||
| 37 | /// </summary> | ||
| 21 | CompressionLevel? DefaultCompressionLevel { get; set; } | 38 | CompressionLevel? DefaultCompressionLevel { get; set; } |
| 22 | 39 | ||
| 40 | /// <summary> | ||
| 41 | /// Delayed fields that need to be resolved again. | ||
| 42 | /// </summary> | ||
| 23 | IEnumerable<IDelayedField> DelayedFields { get; set; } | 43 | IEnumerable<IDelayedField> DelayedFields { get; set; } |
| 24 | 44 | ||
| 45 | /// <summary> | ||
| 46 | /// Embedded files to extract. | ||
| 47 | /// </summary> | ||
| 25 | IEnumerable<IExpectedExtractFile> ExpectedEmbeddedFiles { get; set; } | 48 | IEnumerable<IExpectedExtractFile> ExpectedEmbeddedFiles { get; set; } |
| 26 | 49 | ||
| 50 | /// <summary> | ||
| 51 | /// Binder extensions. | ||
| 52 | /// </summary> | ||
| 27 | IEnumerable<IBinderExtension> Extensions { get; set; } | 53 | IEnumerable<IBinderExtension> Extensions { get; set; } |
| 28 | 54 | ||
| 55 | /// <summary> | ||
| 56 | /// File system extensions. | ||
| 57 | /// </summary> | ||
| 29 | IEnumerable<IFileSystemExtension> FileSystemExtensions { get; set; } | 58 | IEnumerable<IFileSystemExtension> FileSystemExtensions { get; set; } |
| 30 | 59 | ||
| 60 | /// <summary> | ||
| 61 | /// Set of ICEs to execute. | ||
| 62 | /// </summary> | ||
| 31 | IEnumerable<string> Ices { get; set; } | 63 | IEnumerable<string> Ices { get; set; } |
| 32 | 64 | ||
| 65 | /// <summary> | ||
| 66 | /// Intermedaite folder. | ||
| 67 | /// </summary> | ||
| 33 | string IntermediateFolder { get; set; } | 68 | string IntermediateFolder { get; set; } |
| 34 | 69 | ||
| 70 | /// <summary> | ||
| 71 | /// Intermediate representation to bind. | ||
| 72 | /// </summary> | ||
| 35 | Intermediate IntermediateRepresentation { get; set; } | 73 | Intermediate IntermediateRepresentation { get; set; } |
| 36 | 74 | ||
| 75 | /// <summary> | ||
| 76 | /// Output path to bind to. | ||
| 77 | /// </summary> | ||
| 37 | string OutputPath { get; set; } | 78 | string OutputPath { get; set; } |
| 38 | 79 | ||
| 80 | /// <summary> | ||
| 81 | /// Type of PDB to create. | ||
| 82 | /// </summary> | ||
| 39 | PdbType PdbType { get; set; } | 83 | PdbType PdbType { get; set; } |
| 40 | 84 | ||
| 85 | /// <summary> | ||
| 86 | /// Output path for PDB. | ||
| 87 | /// </summary> | ||
| 41 | string PdbPath { get; set; } | 88 | string PdbPath { get; set; } |
| 42 | 89 | ||
| 90 | /// <summary> | ||
| 91 | /// Set of ICEs to skip. | ||
| 92 | /// </summary> | ||
| 43 | IEnumerable<string> SuppressIces { get; set; } | 93 | IEnumerable<string> SuppressIces { get; set; } |
| 44 | 94 | ||
| 95 | /// <summary> | ||
| 96 | /// Skip all ICEs. | ||
| 97 | /// </summary> | ||
| 45 | bool SuppressValidation { get; set; } | 98 | bool SuppressValidation { get; set; } |
| 46 | 99 | ||
| 100 | /// <summary> | ||
| 101 | /// Skip creation of output. | ||
| 102 | /// </summary> | ||
| 47 | bool SuppressLayout { get; set; } | 103 | bool SuppressLayout { get; set; } |
| 48 | 104 | ||
| 105 | /// <summary> | ||
| 106 | /// Cancellation token. | ||
| 107 | /// </summary> | ||
| 49 | CancellationToken CancellationToken { get; set; } | 108 | CancellationToken CancellationToken { get; set; } |
| 50 | } | 109 | } |
| 51 | } | 110 | } |
