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 | 204cb9a59494471804fe17a4a15f6856b531bb54 (patch) | |
tree | f52c9c94aa7c6cf169b44425f851edc106127621 /BackEnd/Timeline/Models | |
parent | d42d826ae863b20913321d229a168b05d723db73 (diff) | |
download | timeline-204cb9a59494471804fe17a4a15f6856b531bb54.tar.gz timeline-204cb9a59494471804fe17a4a15f6856b531bb54.tar.bz2 timeline-204cb9a59494471804fe17a4a15f6856b531bb54.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";
}
|