private IList <IPageLayoutDef> GetPageLayoutDefList(string moduleProfilePath) { XElement xmlDoc = LoadXMLFile(moduleProfilePath); IList <IPageLayoutDef> pageLayoutDefList = ModuleProfileUtilities.GetPageLayoutDefs(GetModules(xmlDoc)); return(pageLayoutDefList); }
public string GenerateProfileToken(string moduleProfilePath, IList <string> resourcesFiles) { string moduleFolderPath = ModuleProfileUtilities.GetModuleParentPath(moduleProfilePath); var pageLayoutDefList = GetPageLayoutDefList(moduleProfilePath); IList <string> featurePageList = GetFeaturePagePathList(pageLayoutDefList, moduleFolderPath); IList <string> dataSourceList = GetDataSourcePathList(pageLayoutDefList, moduleFolderPath); return(GenerateProfileToken(moduleProfilePath, resourcesFiles, featurePageList, dataSourceList)); }
private string GetModuleProfileVersion(XElement moduleProfileRoot) { return(ModuleProfileUtilities.GetProfileFileVersion(logger, moduleProfileRoot)); }
private IList <string> GetDataSourcePathList(IList <IPageLayoutDef> pageLayoutDefList, string packagePath) { return(ModuleProfileUtilities.GetDataSourcePathList(pageLayoutDefList, packagePath)); }
private IList <IModule> GetModules(XElement rootElement) { return(ModuleProfileUtilities.LoadModuleProfile(rootElement, GetModuleProfileVersion(rootElement))); }