vars and target-typed new

This commit is contained in:
Kwoth
2021-12-20 00:15:39 +01:00
parent ee33313519
commit cd379fd308
75 changed files with 198 additions and 198 deletions

View File

@@ -58,7 +58,7 @@ public class Deck
{
get
{
var str = "";
var str = string.Empty;
if (Number <= 10 && Number > 1)
{
@@ -106,7 +106,7 @@ public class Deck
public string GetEmojiString()
{
var str = "";
var str = string.Empty;
str += _regIndicators[this.Number - 1];
str += _suitToSuitChar[this.Suit];

View File

@@ -71,7 +71,7 @@ public class GameStatusEvent : ICurrencyEvent
private async void OnTimerTick(object state)
{
var potEmpty = PotEmptied;
List<ulong> toAward = new List<ulong>();
var toAward = new List<ulong>();
while (_toAward.TryDequeue(out var x))
{
toAward.Add(x);

View File

@@ -67,7 +67,7 @@ public class ReactionEvent : ICurrencyEvent
private async void OnTimerTick(object state)
{
var potEmpty = PotEmptied;
List<ulong> toAward = new List<ulong>();
var toAward = new List<ulong>();
while (_toAward.TryDequeue(out var x))
{
toAward.Add(x);