コード例 #1
0
 public ProtectionPunishment(ProtectionPunishmentOption option, ulong userId, DateTime givenAt, TimeSpan?time = null)
 {
     this.Option  = option;
     this.UserId  = userId;
     this.GivenAt = givenAt;
     this.Time    = time;
 }
コード例 #2
0
 public AddProtectionPunishmentCommand(ProtectionPunishmentOption protectionPunishmentOption, ulong userId, DateTime givenAt, TimeSpan?forTime = null)
 {
     this.ProtectionPunishment = new ProtectionPunishment(protectionPunishmentOption, userId, givenAt, forTime);
 }
コード例 #3
0
 public ProtectionPunishment(ProtectionPunishmentOption option, TimeSpan?time = null)
 {
     Option = option;
     Time   = time;
 }