aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Helpers/Cache/CacheableDataDigest.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-02-10 02:03:06 +0800
committercrupest <crupest@outlook.com>2021-02-10 02:03:06 +0800
commit253b06dfaa091d986a8714c081fd1e01679f538a (patch)
tree9200a7f6607889fcfb13b7ba14cc30db54fe3499 /BackEnd/Timeline/Helpers/Cache/CacheableDataDigest.cs
parentbc2d6676276ea85a974f57f96b038e35e6ce7460 (diff)
downloadtimeline-253b06dfaa091d986a8714c081fd1e01679f538a.tar.gz
timeline-253b06dfaa091d986a8714c081fd1e01679f538a.tar.bz2
timeline-253b06dfaa091d986a8714c081fd1e01679f538a.zip
...
Diffstat (limited to 'BackEnd/Timeline/Helpers/Cache/CacheableDataDigest.cs')
-rw-r--r--BackEnd/Timeline/Helpers/Cache/CacheableDataDigest.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/BackEnd/Timeline/Helpers/Cache/CacheableDataDigest.cs b/BackEnd/Timeline/Helpers/Cache/CacheableDataDigest.cs
new file mode 100644
index 00000000..3b5bcf52
--- /dev/null
+++ b/BackEnd/Timeline/Helpers/Cache/CacheableDataDigest.cs
@@ -0,0 +1,16 @@
+using System;
+
+namespace Timeline.Helpers.Cache
+{
+ public class CacheableDataDigest
+ {
+ public CacheableDataDigest(string eTag, DateTime lastModified)
+ {
+ ETag = eTag;
+ LastModified = lastModified;
+ }
+
+ public string ETag { get; set; }
+ public DateTime LastModified { get; set; }
+ }
+}