using zaaReloaded2.Controller; using zaaReloaded2.Controller.Elements; using YamlDotNet.Serialization; using System.Collections.Generic; namespace zaaReloaded2 { static class YamlTagMappingExtension { public static TBuilder WithCommonTagMappings(this TBuilder builder) where TBuilder : BuilderSkeleton { return builder .WithTagMapping("!UserSettings", typeof(UserSettings)) .WithTagMapping("!Settings", typeof(Settings)) .WithTagMapping("!SettingsList", typeof(List)) .WithTagMapping("!ElementsList", typeof(List)) .WithTagMapping("!FormatElementsList", typeof(List)) .WithTagMapping("!Items", typeof(Items)) .WithTagMapping("!CustomText", typeof(CustomText)) .WithTagMapping("!SelectFirstDay", typeof(SelectFirstDay)) .WithTagMapping("!SelectEachDay", typeof(SelectEachDay)) .WithTagMapping("!SelectLastDay", typeof(SelectLastDay)) .WithTagMapping("!TwoColumns", typeof(TwoColumns)) .WithTagMapping("!NextColumn", typeof(NextColumn)); } } }