diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-04-19 16:12:28 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-04-19 16:37:03 -0700 |
| commit | 7f4c41fc2c6ce55f8f1b87a5516573d99a9beec0 (patch) | |
| tree | bf62fa354b7ebbf6eb25cc5af1f6bbbb7ce80fe6 /src/WixToolset.Core/LayoutContext.cs | |
| parent | bb40dc8a911ec0679016cbbf7132ea813ea1a3ad (diff) | |
| download | wix-7f4c41fc2c6ce55f8f1b87a5516573d99a9beec0.tar.gz wix-7f4c41fc2c6ce55f8f1b87a5516573d99a9beec0.tar.bz2 wix-7f4c41fc2c6ce55f8f1b87a5516573d99a9beec0.zip | |
Prefer IReadOnlyCollection<> or IReadOnlyList<> over IEnumerable<>
Closes wixtoolset/issues#6422
Diffstat (limited to 'src/WixToolset.Core/LayoutContext.cs')
| -rw-r--r-- | src/WixToolset.Core/LayoutContext.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/WixToolset.Core/LayoutContext.cs b/src/WixToolset.Core/LayoutContext.cs index deb5057f..4b8c7b99 100644 --- a/src/WixToolset.Core/LayoutContext.cs +++ b/src/WixToolset.Core/LayoutContext.cs | |||
| @@ -17,13 +17,13 @@ namespace WixToolset.Core | |||
| 17 | 17 | ||
| 18 | public IServiceProvider ServiceProvider { get; } | 18 | public IServiceProvider ServiceProvider { get; } |
| 19 | 19 | ||
| 20 | public IEnumerable<ILayoutExtension> Extensions { get; set; } | 20 | public IReadOnlyCollection<ILayoutExtension> Extensions { get; set; } |
| 21 | 21 | ||
| 22 | public IEnumerable<IFileSystemExtension> FileSystemExtensions { get; set; } | 22 | public IReadOnlyCollection<IFileSystemExtension> FileSystemExtensions { get; set; } |
| 23 | 23 | ||
| 24 | public IEnumerable<IFileTransfer> FileTransfers { get; set; } | 24 | public IReadOnlyCollection<IFileTransfer> FileTransfers { get; set; } |
| 25 | 25 | ||
| 26 | public IEnumerable<ITrackedFile> TrackedFiles { get; set; } | 26 | public IReadOnlyCollection<ITrackedFile> TrackedFiles { get; set; } |
| 27 | 27 | ||
| 28 | public string IntermediateFolder { get; set; } | 28 | public string IntermediateFolder { get; set; } |
| 29 | 29 | ||
