about summary refs log tree commit diff
path: root/ConsoleApp1/Program.cs
blob: 7831ce81fd2ac034c170360d205e61d19ab41a5f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"
});