Rename
editorconfig
This commit is contained in:
@ -34,7 +34,7 @@ public class SetCreatedDate
|
||||
_WorkingDirectory = workingDirectory;
|
||||
_ConfigurationRoot = configurationRoot;
|
||||
Property.Models.Configuration propertyConfiguration = Property.Models.Binder.Configuration.Get(isEnvironment, configurationRoot);
|
||||
string[] directories = new string[] { propertyConfiguration.ResultContent };
|
||||
string[] directories = [propertyConfiguration.ResultContent];
|
||||
_FileGroups = Shared.Models.Stateless.Methods.IPath.GetKeyValuePairs(propertyConfiguration, appSettings.CopyTo, directories);
|
||||
Configuration configuration = Models.Binder.Configuration.Get(isEnvironment, configurationRoot, propertyConfiguration);
|
||||
_PropertyConfiguration = propertyConfiguration;
|
||||
@ -65,7 +65,7 @@ public class SetCreatedDate
|
||||
|
||||
private List<Record> GetRecords(ProgressBar progressBar, ASCIIEncoding asciiEncoding, B_Metadata metadata, string[] files)
|
||||
{
|
||||
List<Record> results = new();
|
||||
List<Record> results = [];
|
||||
int? id;
|
||||
string? message;
|
||||
DateTime[] dateTimes;
|
||||
@ -96,13 +96,13 @@ public class SetCreatedDate
|
||||
|
||||
private List<Record> GetToDoCollection(ProgressBar progressBar, List<string[]> filesCollection)
|
||||
{
|
||||
List<Record> results = new();
|
||||
List<Record> results = [];
|
||||
int minutes;
|
||||
Record[] records;
|
||||
List<Record> unordered;
|
||||
ASCIIEncoding asciiEncoding = new();
|
||||
B_Metadata metadata = new(_PropertyConfiguration);
|
||||
List<Record[]> collections = new();
|
||||
List<Record[]> collections = [];
|
||||
foreach (string[] files in filesCollection)
|
||||
{
|
||||
minutes = 0;
|
||||
@ -126,7 +126,7 @@ public class SetCreatedDate
|
||||
|
||||
private static List<string> SetCreatedDateForeach(ProgressBar progressBar, List<Record> toDoCollection)
|
||||
{
|
||||
List<string> results = new();
|
||||
List<string> results = [];
|
||||
foreach (Record record in toDoCollection)
|
||||
{
|
||||
progressBar.Tick();
|
||||
@ -140,7 +140,7 @@ public class SetCreatedDate
|
||||
|
||||
private List<string> SetCreatedDateFilesInDirectories(ILogger<Program>? logger)
|
||||
{
|
||||
List<string> results = new();
|
||||
List<string> results = [];
|
||||
ProgressBar progressBar;
|
||||
ConsoleKey? consoleKey = null;
|
||||
const bool useCeilingAverage = true;
|
||||
|
Reference in New Issue
Block a user