aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/LibraryContext.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2021-04-19 16:12:28 -0700
committerRob Mensching <rob@firegiant.com>2021-04-19 16:37:03 -0700
commit7f4c41fc2c6ce55f8f1b87a5516573d99a9beec0 (patch)
treebf62fa354b7ebbf6eb25cc5af1f6bbbb7ce80fe6 /src/WixToolset.Core/LibraryContext.cs
parentbb40dc8a911ec0679016cbbf7132ea813ea1a3ad (diff)
downloadwix-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/LibraryContext.cs')
-rw-r--r--src/WixToolset.Core/LibraryContext.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/WixToolset.Core/LibraryContext.cs b/src/WixToolset.Core/LibraryContext.cs
index 62d4e70c..e701cadf 100644
--- a/src/WixToolset.Core/LibraryContext.cs
+++ b/src/WixToolset.Core/LibraryContext.cs
@@ -23,15 +23,15 @@ namespace WixToolset.Core
23 23
24 public bool BindFiles { get; set; } 24 public bool BindFiles { get; set; }
25 25
26 public IEnumerable<IBindPath> BindPaths { get; set; } 26 public IReadOnlyCollection<IBindPath> BindPaths { get; set; }
27 27
28 public IEnumerable<ILibrarianExtension> Extensions { get; set; } 28 public IReadOnlyCollection<ILibrarianExtension> Extensions { get; set; }
29 29
30 public string LibraryId { get; set; } 30 public string LibraryId { get; set; }
31 31
32 public IEnumerable<Localization> Localizations { get; set; } 32 public IReadOnlyCollection<Localization> Localizations { get; set; }
33 33
34 public IEnumerable<Intermediate> Intermediates { get; set; } 34 public IReadOnlyCollection<Intermediate> Intermediates { get; set; }
35 35
36 public CancellationToken CancellationToken { get; set; } 36 public CancellationToken CancellationToken { get; set; }
37 } 37 }