about summary refs log tree commit diff
path: root/LibMatrix.EventTypes/MatrixEvent.cs
diff options
context:
space:
mode:
authorEmma [it/its]@Rory& <root@rory.gay>2024-06-01 19:02:28 +0200
committerEmma [it/its]@Rory& <root@rory.gay>2024-06-01 19:03:05 +0200
commita129b321998614b20e4ebb8a7c1632553ebee981 (patch)
treef4e16f7b1bbeffc21e81f8749e4980994242ff19 /LibMatrix.EventTypes/MatrixEvent.cs
parentEvent serialisation fix (diff)
downloadLibMatrix-bak-a129b321998614b20e4ebb8a7c1632553ebee981.tar.xz
Split event abstractions
Diffstat (limited to 'LibMatrix.EventTypes/MatrixEvent.cs')
-rw-r--r--LibMatrix.EventTypes/MatrixEvent.cs9
1 files changed, 0 insertions, 9 deletions
diff --git a/LibMatrix.EventTypes/MatrixEvent.cs b/LibMatrix.EventTypes/MatrixEvent.cs
deleted file mode 100644

index 63f1e75..0000000 --- a/LibMatrix.EventTypes/MatrixEvent.cs +++ /dev/null
@@ -1,9 +0,0 @@ -using System.Text.Json.Serialization; - -namespace LibMatrix.EventTypes; - -public interface IMatrixEvent<out T> where T : MatrixEventContent; -public class MatrixEvent<T> : IMatrixEvent<T> where T : MatrixEventContent { - [JsonPropertyName("content")] - public T? Content { get; set; } -} \ No newline at end of file