public bool getCachedAssemblyForCode_and_RaiseEvents(string codeSnippet) { if (codeSnippet.notValid()) { return(false); } var filesMd5 = codeSnippet.md5Hash(); var cachedCompilation = CompileEngine.getCachedCompiledAssembly_MD5(filesMd5); if (cachedCompilation.notNull()) { this.CompiledAssembly = cachedCompilation; if (CompileEngine.loadReferencedAssembliesIntoMemory(this.CompiledAssembly)) { this.onCompileOK.invoke(); FinishedCompilingCode.Set(); return(true); } } return(false); }