private void ForceGenerateOutputFile(Endpoint endpoint, JsFile jsFile) { try { JsFileGenerator.GenerateJsFileV2("003", endpoint, jsFile, rulesChanged: true); this.IsOutputFilesDirty = false; endpoint.LastUpdateDate = DateTime.Now; } catch (Exception ex) { this.log.Exception(ex); } }
private void ForceGenerateAllOutputFiles(Endpoint endpoint) { try { endpoint.Application.JsFiles.ForEach(jsFile => { JsFileGenerator.GenerateJsFileV2("002", endpoint, jsFile, rulesChanged: true); this.IsOutputFilesDirty = false; endpoint.LastUpdateDate = DateTime.Now; }); } catch (Exception ex) { this.log.Exception(ex); } }
private void GenerateOutputFiles(Endpoint endpoint, Dictionary <string, ChangeDescriptor> fullChangeSet) { try { // TODO: changesList contains absolute of changes..does not necessarily apply to all files!!!! endpoint.Application.JsFiles.ForEach(jsFile => { //JsFileGenerator.GenerateJsFile("001", endpoint, jsFile, fullChangeSet); JsFileGenerator.GenerateJsFileV2("001", endpoint, jsFile, fullChangeSet); this.IsOutputFilesDirty = false; endpoint.LastUpdateDate = DateTime.Now; }); } catch (Exception ex) { this.log.Exception(ex); } }