Class BaseMessage
- Namespace
- Skyware.Lis.EventsModel
- Assembly
- Skyware.Lis.EventsModel.dll
Base (abstract) class for all messages emitted by LIS iLab.
[JsonDerivedType(typeof(CheckIn))]
[JsonDerivedType(typeof(Order))]
[JsonDerivedType(typeof(Query))]
[JsonDerivedType(typeof(Result))]
[JsonDerivedType(typeof(ResultApproval))]
[JsonDerivedType(typeof(SampleApproval))]
[JsonDerivedType(typeof(OrderAction))]
[JsonDerivedType(typeof(ResultsSet))]
[JsonDerivedType(typeof(Sale))]
[JsonDerivedType(typeof(CheckIn))]
[JsonDerivedType(typeof(SampleShipment))]
[JsonDerivedType(typeof(Payment))]
[JsonDerivedType(typeof(InsuranceCheck))]
[JsonDerivedType(typeof(ReferralAction))]
[JsonDerivedType(typeof(Session))]
public abstract class BaseMessage
- Inheritance
-
BaseMessage
- Derived
- Inherited Members
Properties
DefaultAddress
Default address where message should be send.
[JsonIgnore]
public abstract string DefaultAddress { get; }
Property Value
EventTime
Date and time (UTC) when message is generated.
public DateTime EventTime { get; set; }
Property Value
Id
Id of the message, GUID
public string Id { get; set; }
Property Value
LocalEventTime
Local date and time (according to receiver).
public DateTime LocalEventTime { get; }
Property Value
OriginApp
Origin application name.
public string OriginApp { get; set; }
Property Value
OriginAppVer
Origin application version.
public string OriginAppVer { get; set; }
Property Value
OriginHost
Host name of a computer where message is generated (usually it's NetBIOS name).
public string OriginHost { get; set; }
Property Value
OriginLocation
If LIS supports locations, Location where event is generated.
public Location OriginLocation { get; set; }
Property Value
OriginUserId
User Id (usually username) of the logged in operator.
public string OriginUserId { get; set; }