Skip to content

Instantly share code, notes, and snippets.

@mario-loza
Created March 7, 2017 19:08
Show Gist options
  • Save mario-loza/f9a8bc8bb2657b2253547fc981552fd6 to your computer and use it in GitHub Desktop.
Save mario-loza/f9a8bc8bb2657b2253547fc981552fd6 to your computer and use it in GitHub Desktop.
public static class OperationName
{
public const string CreditExtension = "Credit Extension" ;
public const string Payment = "Payment Made" ;
public const string SaleAsset = "Sale Assets" ;
}
//That way we can use them in the following way:
if (process == OperationName.CreditExtension)
{
calculateInterest = true;
}
this.ExecuteCalculationX(OperationName.CreditExtension, clientId: 567)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment