예제 #1
0
 /// <summary>
 /// A simple constructor that initializes the object with the given values.
 /// </summary>
 /// <param name="p_atgTagger">The tagger to use to tag mods with metadata.</param>
 /// <param name="p_modMod">The mod to be tagged.</param>
 /// <param name="p_setSettings">The application and user settings.</param>
 /// <param name="p_thmTheme">The current theme to use for the views.</param>
 public ModTaggerVM(AutoTagger p_atgTagger, IMod p_modMod, ISettings p_setSettings, Theme p_thmTheme)
 {
     ModTagger             = p_atgTagger;
     Mod                   = p_modMod;
     Settings              = p_setSettings;
     CurrentTheme          = p_thmTheme;
     m_mifCurrentTagOption = new ModInfo(Mod);
     ModInfoEditorVM       = new ModInfoEditorVM(m_mifCurrentTagOption, p_setSettings);
     ModInfoEditorVM.EditedModInfoVM.LoadInfoValues(p_modMod);
 }
예제 #2
0
		/// <summary>
		/// A simple constructor that initializes the object with the given values.
		/// </summary>
		/// <param name="p_atgTagger">The tagger to use to tag mods with metadata.</param>
		/// <param name="p_modMod">The mod to be tagged.</param>
		/// <param name="p_setSettings">The application and user settings.</param>
		/// <param name="p_thmTheme">The current theme to use for the views.</param>
		public ModTaggerVM(AutoTagger p_atgTagger, IMod p_modMod, ISettings p_setSettings, Theme p_thmTheme)
		{
			ModTagger = p_atgTagger;
			Mod = p_modMod;
			Settings = p_setSettings;
			CurrentTheme = p_thmTheme;
			m_mifCurrentTagOption = new ModInfo(Mod);
			ModInfoEditorVM = new ModInfoEditorVM(m_mifCurrentTagOption, p_setSettings);
			ModInfoEditorVM.EditedModInfoVM.LoadInfoValues(p_modMod);
		}