예제 #1
0
 public ThemeFontSettingsImpl(string name, FontType fontType, DefaultFontInfo defaultFontInfo)
 {
     Name                 = name ?? throw new ArgumentNullException(nameof(name));
     FontType             = fontType;
     toSettings           = new Dictionary <Guid, FontSettingsImpl>();
     this.defaultFontInfo = defaultFontInfo;
 }
예제 #2
0
		public ThemeFontSettingsImpl(string name, FontType fontType, DefaultFontInfo defaultFontInfo) {
			if (name == null)
				throw new ArgumentNullException(nameof(name));
			Name = name;
			FontType = fontType;
			toSettings = new Dictionary<Guid, FontSettingsImpl>();
			this.defaultFontInfo = defaultFontInfo;
		}