| 1 | // 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. |
| 2 | |
| 3 | namespace WixToolset.Extensibility |
| 4 | { |
| 5 | using WixToolset.Extensibility.Data; |
| 6 | |
| 7 | /// <summary> |
| 8 | /// Base class for creating an optimizer extension. |
| 9 | /// </summary> |
| 10 | public abstract class BaseOptimizerExtension : IOptimizerExtension |
| 11 | { |
| 12 | /// <summary> |
| 13 | /// Called after all files have been compiled, before built-in optimizations, and before all sections are linked into a single section. |
| 14 | /// </summary> |
| 15 | public virtual void PreOptimize(IOptimizeContext context) |
| 16 | { |
| 17 | } |
| 18 | |
| 19 | /// <summary> |
| 20 | /// Called after all files have been compiled, after built-in optimizations, and before all sections are linked into a single section. |
| 21 | /// </summary> |
| 22 | public virtual void PostOptimize(IOptimizeContext context) |
| 23 | { |
| 24 | } |
| 25 | } |
| 26 | } |