Extending : Common Condition Extension : Infrastructure to support version control : How the Version Manager works
  
How the Version Manager works
UNICOM® Digital Transformation Toolkit (UDTT™) tools get IVersionManager from extension point and call the isDirty method to check whether need to generate new file.
If condition dictionary file has been changed and need to generate new file (isDirty return true):
getOutputPath: get condition.js file’s output path, getLastFileName and getNewFilename will working base on this path
Call getLastFileName to get last generated js file and try to remove it from workspace, if the getLastFileName return null or empty string, will skip this method
Call getNewFilename to get new file name for the condition.js
Then generate new file with the name return by the getNewFilename and store it on the path return by getOutputPath
This graphic is described in the surrounding text.
Go up to
Infrastructure to support version control