コード例 #1
0
 public static AccountState PutOnAlert(this AccountState account)
 => account.With
 (
     Status: AccountStatus.Frozen,
     AllowedOverdraft: 0m
 );
コード例 #2
0
 public static AccountState Freeze(this AccountState account)
 => account.With(Status: AccountStatus.Frozen);