rider sure has a lot to say about my code
This commit is contained in:
parent
95ae8f11b3
commit
c5748a21d4
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ namespace BunyMuny {
|
||||||
/// <param name="file">The CSV file to read</param>
|
/// <param name="file">The CSV file to read</param>
|
||||||
/// <param name="ruleFile">The JSON file to use for rules when parsing statement descriptions</param>
|
/// <param name="ruleFile">The JSON file to use for rules when parsing statement descriptions</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
static int Main(string file = "test.csv", string ruleFile = "rules.json") {
|
private static int Main(string file = "test.csv", string ruleFile = "rules.json") {
|
||||||
var bank = Bank.Other;
|
var bank = Bank.Other;
|
||||||
var statements = new List<Statement>();
|
var statements = new List<Statement>();
|
||||||
List<Rule> rules;
|
List<Rule> rules;
|
||||||
|
|
|
@ -7,7 +7,7 @@ namespace BunyMuny {
|
||||||
private string _description;
|
private string _description;
|
||||||
public string Description {
|
public string Description {
|
||||||
get => string.IsNullOrWhiteSpace(_description) ? OriginalDescription : _description;
|
get => string.IsNullOrWhiteSpace(_description) ? OriginalDescription : _description;
|
||||||
set { _description = value; }
|
set => _description = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
public string OriginalDescription;
|
public string OriginalDescription;
|
||||||
|
|
Loading…
Reference in a new issue