blob: 49c3f9dec1a5ca37a7560d01ae539a17a8a06ac6 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
// 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.Extensibility
{
using System;
using System.IO;
using WixToolset.Data;
#if BRING_THIS_BACK
/// <summary>
/// Opitonal base class for inspector extensions.
/// </summary>
public class InspectorExtension : IInspectorExtension
{
/// <summary>
/// Gets the <see cref="InspectorCore"/> for inspector extensions to use.
/// </summary>
public IInspectorCore Core { get; set; }
/// <summary>
/// Inspect the source before preprocessing.
/// </summary>
/// <param name="source">The source to preprocess.</param>
public virtual void InspectSource(Stream source)
{
}
/// <summary>
/// Inspect the compiled output.
/// </summary>
/// <param name="intermediate">The compiled output.</param>
public virtual void InspectIntermediate(Intermediate intermediate)
{
}
/// <summary>
/// Inspect the output.
/// </summary>
/// <param name="output">The output. May be called after linking or binding.</param>
/// <remarks>
/// To inspect a patch's filtered transforms, enumerate <see cref="Output.SubStorages"/>.
/// Transforms where the <see cref="SubStorage.Name"/> begins with "#" are
/// called patch transforms and instruct Windows Installer how to apply the
/// authored transforms - those that do not begin with "#". The authored
/// transforms are the primary transforms you'll typically want to inspect
/// and contain your changes to target products.
/// </remarks>
public virtual void InspectOutput(Output output)
{
}
/// <summary>
/// Inspect the final output after binding.
/// </summary>
/// <param name="filePath">The file path to the final bound output.</param>
/// <param name="pdb">The <see cref="Pdb"/> that contains source line numbers
/// for the database and all rows.</param>
public virtual void InspectDatabase(string filePath, Pdb pdb)
{
}
}
#endif
}
|