diff options
| author | Rob Mensching <rob@firegiant.com> | 2017-12-21 13:37:19 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2017-12-21 13:42:38 -0800 |
| commit | 5287c9ce70877b6b1e96d3253a395101fe30de8f (patch) | |
| tree | afd373b856aa2a2320d13666e20548378c84b3e3 /src/WixToolset.Extensibility/IFileSystemExtension.cs | |
| parent | 21be85310baadfb1a479ca5b8c4d8f27018ff8f8 (diff) | |
| download | wix-5287c9ce70877b6b1e96d3253a395101fe30de8f.tar.gz wix-5287c9ce70877b6b1e96d3253a395101fe30de8f.tar.bz2 wix-5287c9ce70877b6b1e96d3253a395101fe30de8f.zip | |
Introduce IResolveExtension and IFileSystemExtension with cleanup
Diffstat (limited to 'src/WixToolset.Extensibility/IFileSystemExtension.cs')
| -rw-r--r-- | src/WixToolset.Extensibility/IFileSystemExtension.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/WixToolset.Extensibility/IFileSystemExtension.cs b/src/WixToolset.Extensibility/IFileSystemExtension.cs new file mode 100644 index 00000000..37b8e24a --- /dev/null +++ b/src/WixToolset.Extensibility/IFileSystemExtension.cs | |||
| @@ -0,0 +1,18 @@ | |||
| 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 | /// <summary> | ||
| 6 | /// Interface all file system extensions implement. | ||
| 7 | /// </summary> | ||
| 8 | public interface IFileSystemExtension | ||
| 9 | { | ||
| 10 | void Initialize(IFileSystemContext context); | ||
| 11 | |||
| 12 | bool? CompareFiles(string targetFile, string updatedFile); | ||
| 13 | |||
| 14 | bool CopyFile(string source, string destination, bool overwrite); | ||
| 15 | |||
| 16 | bool MoveFile(string source, string destination, bool overwrite); | ||
| 17 | } | ||
| 18 | } | ||
