Streamlining
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user