protected void Add(Checkin checkin) { this.properties.Clear(); this.properties.Add("Type", "Checkin"); this.properties.Add("Id", checkin.Id); this.properties.Add("CreatedAt", checkin.CreatedAt.ToString(CultureInfo.InvariantCulture)); this.properties.Add("UserId", checkin.User.Id); this.properties.Add("Name", checkin.User.FullName); this.properties.Add("Shout", checkin.Shout); }
public LogRecord(Checkin checkin) { this.Add(checkin); }