RoomModel Class

Namespace:
Weavy.Web.Models
Assembly:
Weavy.Web.dll

Conversation input model with message.

public class RoomModel
Inheritance:
System.Object → RoomModel

Constructors

RoomModel()

Properties

Name Gets or sets the name of the room.
Participants Gets or sets the recipients of the message as a comma-separated list of usernames.

Extension Methods

IsNullOrDefault(T) Gets a value indicating if the specified value has the default value of the generic type.
Serialize(object) Serializes an object, or graph of connected objects, to a byte array.
SerializeToJson(object, Formatting?, JsonSerializerSettings) Serializes an object, or graph of connected objects, to a json string.
IsValid(object) Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type.