public InternalMessage(InternalMessageTypes Type, UserObject user, object dataObject, string identifier) : this() { _Type = Type; User = user ?? throw new ArgumentNullException(nameof(user)); DataObject = dataObject; Identifier = identifier; }
public InternalMessage(InternalMessageTypes messageType, object content) { Id = Guid.NewGuid(); TimeStamp = DateTime.UtcNow; MessageType = messageType; Content = content; SourceThread = null; }
/// <summary> /// Constructor. /// </summary> /// <param name="type">Specifies the message type to be used when serializing the tagged message.</param> public InternalProxyMessageAttribute(InternalMessageTypes type) { this.Type = type; }