コード例 #1
0
 public EnigmaCore(Enigma facade)
 {
     pluginFacade = facade;
     settings     = (EnigmaSettings)pluginFacade.Settings;
     iCfg         = new internalConfigStruct();
 }
コード例 #2
0
 /// <summary>
 /// Creates a new Enigma nalyzer class
 /// This analyzer performs an cipher-text-only analysis of a given enigma text.
 /// It uses the method as described by James Gillogly in Cryptologia 1995
 /// </summary>
 /// <param name="facade">The enimga plugin which controls this analyzer</param>
 public EnigmaAnalyzer(Enigma facade)
 {
     pluginFacade = facade;
     settings     = (EnigmaSettings)pluginFacade.Settings;
     core         = new EnigmaCore(facade);
 }