public Theme(string name, string dir, Type buildType) { Name = name.ToLowerInvariant(); Directory = dir; BuildType = buildType; OverlayTheme = new OverlayTheme(Name); }
public Theme(string name, string dir, Type buildType) { Name = name.ToLowerInvariant(); Directory = dir; BuildType = buildType; var overlayDir = new DirectoryInfo(dir).Parent?.GetDirectories().FirstOrDefault(x => x.Name == "Overlay"); OverlayTheme = new OverlayTheme(Name, overlayDir?.FullName); }