Click or drag to resize

Message Class

Represents a message sent by MicaSystems.Broadcasting.
Inheritance Hierarchy
SystemObject
  MicaSystems.BroadcastingMessage

Namespace:  MicaSystems.Broadcasting
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
[DataContractAttribute]
public class Message

The Message type exposes the following members.

Constructors
  NameDescription
Public methodMessage
Top
Properties
  NameDescription
Public propertyBroadcasterAssembly
Gets or sets the broadcaster assembly name.
Public propertyBroadcasterIdentifier
Gets or sets a text identifiying the broadcaster.
Public propertyDescription
Gets or sets a text describing the message purpose.
Public propertyExpectedResponseId
Gets or sets a value indicating whether this message is expecting a response. The response has to use this id in its ResponseId.
Public propertyParameters
Gets or sets a list of custom values.
Public propertyReceiverIdentifier
Gets or sets a text identifiying the receiver.
Public propertyResponseId
Gets or sets the response id indicating this message is a response to another message Once sent, the message will trigger the corresponding callback.
Public propertyTag
Gets or sets the tag representing the type or category of the message.
Top
Methods
  NameDescription
Public methodGetResponseMessage
Returns a new message that can be used to answer this one. Throws an InvalidStateException if this message is not expecting a response (ResponseId).
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also