public Theme(string name, string dir, Type buildType)
		{
			Name = name.ToLowerInvariant();
			Directory = dir;
			BuildType = buildType;
			OverlayTheme = new OverlayTheme(Name);
		}
示例#2
0
 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);
		}
示例#4
0
        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);
        }