コード例 #1
0
        public List <CargoOrderData> RemoveAndGetApprovedFrom(CargoOrderDatabase database)
        {
            var approvedOrders = database.SpliceApproved();

            SyncComponentsWithId(database.Id);
            return(approvedOrders);
        }
コード例 #2
0
 public bool TryGetAccount(int id, out CargoOrderDatabase account)
 {
     if (_accounts.TryGetValue(id, out var _account))
     {
         account = _account;
         return(true);
     }
     account = null;
     return(false);
 }