示例#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);