/// <summary> /// A simple constructor that initializes the script with the specified values. /// </summary> /// <param name="p_xstScripType">The script's type.</param> /// <param name="p_verVersion">The version of the script.</param> /// <param name="p_hdrHeader">The <see cref="HeaderInfo"/> of the script.</param> /// <param name="p_cndModPrerequisites">The mod prerequisites encoded in the script.</param> /// <param name="p_lstRequiredInstallFiles">The list of files that the script requires to be installed, regardless /// of other script options.</param> /// <param name="p_lstInstallSteps">The script's <see cref="InstallStep"/>s.</param> /// <param name="p_srtStepOrder">The order of the script's <see cref="InstallStep"/>s.</param> /// <param name="p_lstConditionallyInstalledFileSets">The list of file sets that the script wants installed if certain conditions /// are satified.</param> public XmlScript(XmlScriptType p_xstScripType, Version p_verVersion, HeaderInfo p_hdrHeader, ICondition p_cndModPrerequisites, IList <InstallableFile> p_lstRequiredInstallFiles, List <InstallStep> p_lstInstallSteps, SortOrder p_srtStepOrder, List <ConditionallyInstalledFileSet> p_lstConditionallyInstalledFileSets) { Type = p_xstScripType; Version = p_verVersion; HeaderInfo = p_hdrHeader; ModPrerequisites = p_cndModPrerequisites; RequiredInstallFiles = (p_lstRequiredInstallFiles == null) ? new ThreadSafeObservableList <InstallableFile>() : new ThreadSafeObservableList <InstallableFile>(p_lstRequiredInstallFiles); InstallSteps = (p_lstInstallSteps == null) ? new ThreadSafeObservableList <InstallStep>() : new ThreadSafeObservableList <InstallStep>(p_lstInstallSteps); InstallSteps.CollectionChanged += new NotifyCollectionChangedEventHandler(InstallSteps_CollectionChanged); InstallStepSortOrder = p_srtStepOrder; ConditionallyInstalledFileSets = (p_lstConditionallyInstalledFileSets == null) ? new ThreadSafeObservableList <ConditionallyInstalledFileSet>() : new ThreadSafeObservableList <ConditionallyInstalledFileSet>(p_lstConditionallyInstalledFileSets); }
/// <summary> /// A simple constructor that initializes the object with the given values. /// </summary> /// <param name="p_xelScript">The xmlscript file.</param> /// <param name="p_xstXmlScriptType">The <see cref="XmlScriptType"/> that describes /// XML script type metadata.</param> public SkyrimParser50(XElement p_xelScript, XmlScriptType p_xstXmlScriptType) : base(p_xelScript, p_xstXmlScriptType) { }
/// <summary> /// A simple constructor that initializes the object with the given values. /// </summary> /// <param name="p_xstScripType">The current xml script type.</param> public XmlScript10NodeAdapter(XmlScriptType p_xstScripType) { ScriptType = p_xstScripType; }
/// <summary> /// A simple constructor that initializes the object with the given values. /// </summary> /// <param name="p_xelScript">The xmlscript file.</param> /// <param name="p_xstXmlScriptType">The <see cref="XmlScriptType"/> that describes /// XML script type metadata.</param> public Fallout3Parser40(XElement p_xelScript, XmlScriptType p_xstXmlScriptType) : base(p_xelScript, p_xstXmlScriptType) { }
/// <summary> /// A simple constructor that initializes the object with the given values. /// </summary> /// <param name="p_xstScripType">The current xml script type.</param> public XmlScript40NodeAdapter(XmlScriptType p_xstScripType) : base(p_xstScripType) { }
/// <summary> /// A simple constructor that initializes the script with the specified values. /// </summary> /// <param name="p_xstScripType">The script's type.</param> /// <param name="p_verVersion">The version of the script.</param> public XmlScript(XmlScriptType p_xstScripType, Version p_verVersion) : this(p_xstScripType, p_verVersion, new HeaderInfo(), null, null, null, SortOrder.Explicit, null) { }