mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-01-07 02:24:33 -08:00
Removed spaces from top-level directory names.
Spaces tend to cause annoyances in a Unix-style shell environment. This change fixes that.
This commit is contained in:
25
83_Stock_Market/csharp/src/TransactionResult.cs
Normal file
25
83_Stock_Market/csharp/src/TransactionResult.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
namespace Game
|
||||
{
|
||||
/// <summary>
|
||||
/// Enumerates the different possible outcomes of applying a transaction.
|
||||
/// </summary>
|
||||
public enum TransactionResult
|
||||
{
|
||||
/// <summary>
|
||||
/// The transaction was successful.
|
||||
/// </summary>
|
||||
Ok,
|
||||
|
||||
/// <summary>
|
||||
/// The transaction failed because the seller tried to sell more shares
|
||||
/// than he or she owns.
|
||||
/// </summary>
|
||||
Oversold,
|
||||
|
||||
/// <summary>
|
||||
/// The transaction failed because the net cost was greater than the
|
||||
/// seller's available cash.
|
||||
/// </summary>
|
||||
Overspent
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user