From 31416f6a0768cc4888e775c1c383ad7678758069 Mon Sep 17 00:00:00 2001 From: CodeConscious <50596087+codeconscious@users.noreply.github.com> Date: Wed, 5 Jun 2024 12:06:07 +0900 Subject: [PATCH] Rename variable --- AudioTagger.Console/TagArtworkRemover.cs | 4 ++-- AudioTagger.Console/TagRewriter.cs | 4 ++-- AudioTagger.Library/IPathOperation.cs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/AudioTagger.Console/TagArtworkRemover.cs b/AudioTagger.Console/TagArtworkRemover.cs index e4585e8..26a9d9b 100644 --- a/AudioTagger.Console/TagArtworkRemover.cs +++ b/AudioTagger.Console/TagArtworkRemover.cs @@ -3,7 +3,7 @@ namespace AudioTagger.Console; public sealed class TagArtworkRemover : IPathOperation { public void Start( - IReadOnlyCollection filesData, + IReadOnlyCollection mediaFiles, DirectoryInfo workingDirectory, Settings settings, IPrinter printer) @@ -11,7 +11,7 @@ public void Start( var watch = new Watch(); var failures = 0; - foreach (var file in filesData) + foreach (MediaFile file in mediaFiles) { try { diff --git a/AudioTagger.Console/TagRewriter.cs b/AudioTagger.Console/TagRewriter.cs index e2315f0..ff230e5 100644 --- a/AudioTagger.Console/TagRewriter.cs +++ b/AudioTagger.Console/TagRewriter.cs @@ -3,7 +3,7 @@ namespace AudioTagger.Console; public sealed class TagRewriter : IPathOperation { public void Start( - IReadOnlyCollection filesData, + IReadOnlyCollection mediaFiles, DirectoryInfo workingDirectory, Settings settings, IPrinter printer) @@ -12,7 +12,7 @@ public void Start( var failures = 0; Result result; - foreach (MediaFile file in filesData) + foreach (MediaFile file in mediaFiles) { result = file.RewriteFileTags(); if (result.IsFailed) diff --git a/AudioTagger.Library/IPathOperation.cs b/AudioTagger.Library/IPathOperation.cs index b9bbf57..3d6cd65 100644 --- a/AudioTagger.Library/IPathOperation.cs +++ b/AudioTagger.Library/IPathOperation.cs @@ -6,7 +6,7 @@ namespace AudioTagger; public interface IPathOperation { - public void Start(IReadOnlyCollection filesData, + public void Start(IReadOnlyCollection mediaFiles, DirectoryInfo workingDirectory, Settings settings, IPrinter printer);