From ac769e656b122ff569c3f1534701b71e00fed586 Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 27 Oct 2020 19:21:35 +0800 Subject: Split front and back end. --- Timeline/Models/ByteData.cs | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 Timeline/Models/ByteData.cs (limited to 'Timeline/Models/ByteData.cs') diff --git a/Timeline/Models/ByteData.cs b/Timeline/Models/ByteData.cs deleted file mode 100644 index 7b832eb5..00000000 --- a/Timeline/Models/ByteData.cs +++ /dev/null @@ -1,33 +0,0 @@ -using NSwag.Annotations; - -namespace Timeline.Models -{ - /// - /// Model for reading http body as bytes. - /// - [OpenApiFile] - public class ByteData - { - /// - /// - /// The data. - /// The content type. - public ByteData(byte[] data, string contentType) - { - Data = data; - ContentType = contentType; - } - - /// - /// Data. - /// -#pragma warning disable CA1819 // Properties should not return arrays - public byte[] Data { get; } -#pragma warning restore CA1819 // Properties should not return arrays - - /// - /// Content type. - /// - public string ContentType { get; } - } -} -- cgit v1.2.3