Add editorconfig and analyzers, format backend code
This commit is contained in:
@@ -1,18 +1,17 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Musify.Infrastructure.Configuration
|
||||
namespace Musify.Infrastructure.Configuration;
|
||||
|
||||
public class WorkerConfiguration
|
||||
{
|
||||
public class WorkerConfiguration
|
||||
{
|
||||
public const string SectionName = "Workers";
|
||||
public const string SectionName = "Workers";
|
||||
|
||||
[Required]
|
||||
public WorkerRoutes Routes { get; set; } = new WorkerRoutes();
|
||||
}
|
||||
[Required]
|
||||
public WorkerRoutes Routes { get; set; } = new WorkerRoutes();
|
||||
}
|
||||
|
||||
public class WorkerRoutes
|
||||
{
|
||||
[Required]
|
||||
public string TemporaryFilesDirectory { get; set; } = Path.GetTempPath();
|
||||
}
|
||||
public class WorkerRoutes
|
||||
{
|
||||
[Required]
|
||||
public string TemporaryFilesDirectory { get; set; } = Path.GetTempPath();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user