diff --git a/test/BililiveRecorder.Core.UnitTests/Expectations/PublicApi.HasNoChangesAsync.verified.txt b/test/BililiveRecorder.Core.UnitTests/Expectations/PublicApi.HasNoChangesAsync.verified.txt index 73a4a52..58aea9a 100644 --- a/test/BililiveRecorder.Core.UnitTests/Expectations/PublicApi.HasNoChangesAsync.verified.txt +++ b/test/BililiveRecorder.Core.UnitTests/Expectations/PublicApi.HasNoChangesAsync.verified.txt @@ -463,25 +463,25 @@ namespace BililiveRecorder.Core.Scripting } namespace BililiveRecorder.Core.Templating { - public class FileNameGenerator + public sealed class FileNameGenerator { public FileNameGenerator(BililiveRecorder.Core.Config.V3.GlobalConfig config) { } [return: System.Runtime.CompilerServices.TupleElementNames(new string[] { "fullPath", "relativePath"})] - public System.ValueTuple CreateFilePath(BililiveRecorder.Core.Templating.FileNameGenerator.FileNameContextData data) { } - public class FileNameContextData - { - public FileNameContextData() { } - public string AreaChild { get; set; } - public string AreaParent { get; set; } - public Newtonsoft.Json.Linq.JObject? Json { get; set; } - public string Name { get; set; } - public int Qn { get; set; } - public int RoomId { get; set; } - public int ShortId { get; set; } - public string Title { get; set; } - } + public System.ValueTuple CreateFilePath(BililiveRecorder.Core.Templating.FileNameTemplateContext data) { } + } + public class FileNameTemplateContext + { + public FileNameTemplateContext() { } + public string AreaChild { get; set; } + public string AreaParent { get; set; } + public Newtonsoft.Json.Linq.JObject? Json { get; set; } + public string Name { get; set; } + public int Qn { get; set; } + public int RoomId { get; set; } + public int ShortId { get; set; } + public string Title { get; set; } } } namespace BililiveRecorder.DependencyInjection @@ -493,4 +493,4 @@ namespace BililiveRecorder.DependencyInjection public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRecorderConfig(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, BililiveRecorder.Core.Config.V3.ConfigV3 config) { } public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRecorderRecording(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) { } } -} +} \ No newline at end of file