diff options
author | crupest <crupest@outlook.com> | 2021-04-29 19:29:35 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-04-29 19:29:35 +0800 |
commit | bf4c48980f81e566065c07f3fe534ce7551ebdcc (patch) | |
tree | b34c57efd216c5b94845a298ffcb7480d773784c /BackEnd/Timeline/Services/Api/SearchResult.cs | |
parent | fc9eb47119dd33d67c1e4daba18608bfb3355f54 (diff) | |
download | timeline-bf4c48980f81e566065c07f3fe534ce7551ebdcc.tar.gz timeline-bf4c48980f81e566065c07f3fe534ce7551ebdcc.tar.bz2 timeline-bf4c48980f81e566065c07f3fe534ce7551ebdcc.zip |
...
Diffstat (limited to 'BackEnd/Timeline/Services/Api/SearchResult.cs')
-rw-r--r-- | BackEnd/Timeline/Services/Api/SearchResult.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/BackEnd/Timeline/Services/Api/SearchResult.cs b/BackEnd/Timeline/Services/Api/SearchResult.cs new file mode 100644 index 00000000..7c95ae5d --- /dev/null +++ b/BackEnd/Timeline/Services/Api/SearchResult.cs @@ -0,0 +1,11 @@ +using System.Collections.Generic;
+
+namespace Timeline.Services.Api
+{
+ public class SearchResult<TItem>
+ {
+#pragma warning disable CA2227 // Collection properties should be read only
+ public List<SearchResultItem<TItem>> Items { get; set; } = new();
+#pragma warning restore CA2227 // Collection properties should be read only
+ }
+}
|