public Json GetJson() { Json j = new Json(); j["id"].Value = Id; j["time"].Value = Conversions.ToUnixTimeMs(Date); j["type"].Value = Type.ToString().ToLowerInvariant(); j["message"].Value = Message; return(j); }
public static Int64 UnixTimeStampMs() { return(Conversions.ToUnixTimeMs(DateTime.UtcNow)); }