public ProtectionPunishment(ProtectionPunishmentOption option, ulong userId, DateTime givenAt, TimeSpan?time = null) { this.Option = option; this.UserId = userId; this.GivenAt = givenAt; this.Time = time; }
public AddProtectionPunishmentCommand(ProtectionPunishmentOption protectionPunishmentOption, ulong userId, DateTime givenAt, TimeSpan?forTime = null) { this.ProtectionPunishment = new ProtectionPunishment(protectionPunishmentOption, userId, givenAt, forTime); }
public ProtectionPunishment(ProtectionPunishmentOption option, TimeSpan?time = null) { Option = option; Time = time; }