about summary refs log tree commit diff
path: root/ConsoleApp1/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ConsoleApp1/Program.cs25
1 files changed, 25 insertions, 0 deletions
diff --git a/ConsoleApp1/Program.cs b/ConsoleApp1/Program.cs
new file mode 100644

index 0000000..7831ce8 --- /dev/null +++ b/ConsoleApp1/Program.cs
@@ -0,0 +1,25 @@ +// See https://aka.ms/new-console-template for more information + +using LibMatrix.EventTypes; +using LibMatrix.EventTypes.Events; + +Console.WriteLine("Hello, World!"); + +MatrixEventCollection collection = new(); +collection.Add(new MatrixEvent<RoomMembershipEventContent>() { + Content = new RoomMembershipEventContent() { + Membership = "yes" + } +}); + +List<MatrixEvent<MatrixEventContent>> collection2 = new(); +collection2.Add(new MatrixEvent<RoomMembershipEventContent>() { + Content = new RoomMembershipEventContent() { + Membership = "yes" + } +}); + +List<MatrixEventContent> collection3 = new(); +collection3.Add(new RoomMembershipEventContent() { + Membership = "yes" +}); \ No newline at end of file