Streamlining

This commit is contained in:
Lani Aung
2021-10-10 09:28:59 -06:00
parent 5646b3451f
commit e09f00945b
9 changed files with 105 additions and 99 deletions
+5 -1
View File
@@ -1,12 +1,16 @@
using System;
using fxl.codes.kisekae.Services;
using Microsoft.Extensions.Logging;
using SixLabors.ImageSharp;
namespace fxl.codes.kisekae.Models
{
public class PaletteModel
{
public PaletteModel(string line)
internal PaletteModel(ILogger<ConfigurationReaderService> logger, string line)
{
logger.LogTrace($"Parsing palette line {line}");
var parts = line.Split(';');
FileName = parts[0].Replace("%", "").Trim();