Example #1
0
        public string LoadProjectName()
        {
            ProjectFileData ReturnedLicenseTextInputsItemsData = new ProjectFileData();
            var             LoadedInputsItemsElement           = _loadedXMLFileInstance.XPathSelectElement("/document");

            return(LoadedInputsItemsElement.Element("projectName").Value);
        }
Example #2
0
        /// <summary>
        /// ファイルから入力項目を読み込む。
        /// </summary>
        /// <param name="MaterialName"></param>
        /// <returns></returns>
        public ProjectFileData LoadProjectFilePathData()
        {
            ProjectFileData ReturnedLicenseTextInputsItemsData = new ProjectFileData();
            var             LoadedInputsItemsElement           = _loadedXMLFileInstance.XPathSelectElement("/document/fileNames");

            ReturnedLicenseTextInputsItemsData.LicenseTextFileRelativePath        = LoadedInputsItemsElement.Element("licenseTextFileName").Value;
            ReturnedLicenseTextInputsItemsData.MaterialListFileRelativePath       = LoadedInputsItemsElement.Element("materialListFileName").Value;
            ReturnedLicenseTextInputsItemsData.LicenseTextInputsItemsRelativePath = LoadedInputsItemsElement.Element("licenseTextInputsItems").Value;

            return(ReturnedLicenseTextInputsItemsData);
        }
 public void StoreFilePath(ProjectFileData Data, string ProjectFileAbsolutePath)
 {
     LicenseTextFileAbsolutePath            = ProjectFileAbsolutePath + Data.LicenseTextFileRelativePath;
     MaterialListFileAbsolutePath           = ProjectFileAbsolutePath + Data.MaterialListFileRelativePath;
     LicenseTextInputsItemsFileAbsolutePath = ProjectFileAbsolutePath + Data.LicenseTextInputsItemsRelativePath;
 }