Move properties and mark as get-only

This commit is contained in:
Salman Ahmed 2022-08-03 20:31:51 +03:00
parent 8b02c955d8
commit b00c3a4d6d
1 changed files with 4 additions and 3 deletions

View File

@ -42,14 +42,15 @@ public LegacyIpcMessage()
public class Data
{
public string MessageType { get; }
public object MessageData { get; }
public Data(string messageType, object messageData)
{
MessageType = messageType;
MessageData = messageData;
}
public string MessageType { get; set; }
public object MessageData { get; set; }
}
}
}