diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-04-19 16:09:46 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-04-19 16:32:04 -0700 |
| commit | a4c7643523a3fc79c2a79292d22487196ea388fb (patch) | |
| tree | 3d541a4fa958fb4ffefb46f31b5eeeb5febd1ca0 /src/WixToolset.Extensibility/Data/IResolveFileResult.cs | |
| parent | 4041669e1f3b3f094579e4f3368e6f57f46d7177 (diff) | |
| download | wix-a4c7643523a3fc79c2a79292d22487196ea388fb.tar.gz wix-a4c7643523a3fc79c2a79292d22487196ea388fb.tar.bz2 wix-a4c7643523a3fc79c2a79292d22487196ea388fb.zip | |
Prefer IReadOnlyCollection<> or IReadOnlyList<> over IEnumerable<>
Part of wixtoolset/issues#6422
Diffstat (limited to 'src/WixToolset.Extensibility/Data/IResolveFileResult.cs')
| -rw-r--r-- | src/WixToolset.Extensibility/Data/IResolveFileResult.cs | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/WixToolset.Extensibility/Data/IResolveFileResult.cs b/src/WixToolset.Extensibility/Data/IResolveFileResult.cs index c8dca81a..2f0df96c 100644 --- a/src/WixToolset.Extensibility/Data/IResolveFileResult.cs +++ b/src/WixToolset.Extensibility/Data/IResolveFileResult.cs | |||
| @@ -4,11 +4,19 @@ namespace WixToolset.Extensibility.Data | |||
| 4 | { | 4 | { |
| 5 | using System.Collections.Generic; | 5 | using System.Collections.Generic; |
| 6 | 6 | ||
| 7 | #pragma warning disable 1591 // TODO: add documentation | 7 | /// <summary> |
| 8 | /// Result of resolving a file. | ||
| 9 | /// </summary> | ||
| 8 | public interface IResolveFileResult | 10 | public interface IResolveFileResult |
| 9 | { | 11 | { |
| 10 | IEnumerable<string> CheckedPaths { get; set; } | 12 | /// <summary> |
| 13 | /// Collection of paths checked to find file. | ||
| 14 | /// </summary> | ||
| 15 | IReadOnlyCollection<string> CheckedPaths { get; set; } | ||
| 11 | 16 | ||
| 17 | /// <summary> | ||
| 18 | /// Path to found file, if found. | ||
| 19 | /// </summary> | ||
| 12 | string Path { get; set; } | 20 | string Path { get; set; } |
| 13 | } | 21 | } |
| 14 | } | 22 | } |
