diff options
author | Emma [it/its]@Rory& <root@rory.gay> | 2024-06-03 04:59:40 +0200 |
---|---|---|
committer | Emma [it/its]@Rory& <root@rory.gay> | 2024-06-03 04:59:40 +0200 |
commit | 2a37322d78c9ce1d27cbc12e24dd918407a931e3 (patch) | |
tree | d3483edae6792bab1f10516b95779367220a2a8d /LibMatrix.EventTypes.Abstractions/MatrixEvent.cs | |
parent | Add all projects to sln (diff) | |
download | LibMatrix-dev/event-rewrite.tar.xz |
Update dependencies, some tests, other things github/dev/event-rewrite dev/event-rewrite
Diffstat (limited to 'LibMatrix.EventTypes.Abstractions/MatrixEvent.cs')
-rw-r--r-- | LibMatrix.EventTypes.Abstractions/MatrixEvent.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/LibMatrix.EventTypes.Abstractions/MatrixEvent.cs b/LibMatrix.EventTypes.Abstractions/MatrixEvent.cs index 0e548c6..46e7757 100644 --- a/LibMatrix.EventTypes.Abstractions/MatrixEvent.cs +++ b/LibMatrix.EventTypes.Abstractions/MatrixEvent.cs @@ -2,7 +2,10 @@ using System.Text.Json.Serialization; namespace LibMatrix.EventTypes; -public interface IMatrixEvent<out T> where T : BaseMatrixEventContent; +public interface IBaseMatrixEvent { + +} +public partial interface IMatrixEvent<out T> : IBaseMatrixEvent where T : BaseMatrixEventContent; public class MatrixEvent<T> : IMatrixEvent<T> where T : BaseMatrixEventContent { [JsonPropertyName("content")] public T? Content { get; set; } |