From 5bf2cebd80a33e3fd6d5ed59e10a76f4d2d5be91 Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 6 Feb 2021 17:43:03 +0800 Subject: ... --- BackEnd/Timeline/Models/TimelinePostContentTypes.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'BackEnd/Timeline/Models') 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"; } -- cgit v1.2.3