Exemplo n.º 1
0
 internal static List <SiteBan> WithBan(this List <SiteBan> bans, SiteBan ban, SiteBanType type)
 {
     if (!(ban is null))
     {
         bans.Add(ban.WithType(type));
     }
     return(bans);
 }
Exemplo n.º 2
0
 internal SiteBan WithType(SiteBanType type)
 {
     Type = type;
     return(this);
 }