}         //end constructor code

        static NuGenMessageIDGenerator()
        {
            idFile = NuGenHome.getHomeDirectory().FullName + "/id_file";
        }
Exemple #2
0
 /// <summary> Creates a new instance of FileCodeMapper.  You should probably not
 /// construct a FileCodeMapper directly.  Use CodeMapper.getInstance()
 /// instead ... this will ensure that only a single instance is created,
 /// which is important for performance because code maps are loaded from
 /// disk every time this constructor is called.
 /// </summary>
 public NuGenFileCodeMapper()
 {
     baseDir = new System.IO.FileInfo(NuGenHome.getHomeDirectory().FullName + "/codemap");
     refreshCache();
 }