diff options
author | crupest <crupest@outlook.com> | 2021-02-06 17:43:03 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-02-06 17:43:03 +0800 |
commit | 5bf2cebd80a33e3fd6d5ed59e10a76f4d2d5be91 (patch) | |
tree | b8288479b527888cc21cd01cc24343036b57c6ab /BackEnd/Timeline/Models | |
parent | 3591f59453846e235ce77e15adde6092dbbedac3 (diff) | |
download | timeline-5bf2cebd80a33e3fd6d5ed59e10a76f4d2d5be91.tar.gz timeline-5bf2cebd80a33e3fd6d5ed59e10a76f4d2d5be91.tar.bz2 timeline-5bf2cebd80a33e3fd6d5ed59e10a76f4d2d5be91.zip |
...
Diffstat (limited to 'BackEnd/Timeline/Models')
-rw-r--r-- | BackEnd/Timeline/Models/TimelinePostContentTypes.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/BackEnd/Timeline/Models/TimelinePostContentTypes.cs b/BackEnd/Timeline/Models/TimelinePostContentTypes.cs index 22763eba..ca5e79e1 100644 --- a/BackEnd/Timeline/Models/TimelinePostContentTypes.cs +++ b/BackEnd/Timeline/Models/TimelinePostContentTypes.cs @@ -4,7 +4,10 @@ namespace Timeline.Models {
public static class TimelinePostContentTypes
{
+#pragma warning disable CA1819 // Properties should not return arrays
public static string[] AllTypes { get; } = new string[] { Text, Image };
+#pragma warning restore CA1819 // Properties should not return arrays
+
public const string Text = "text";
public const string Image = "image";
}
|