WriteInformation() public static method

public static WriteInformation ( string message ) : void
message string
return void
Example #1
0
 public static ModuleDefinition LoadBootstrapModule(string bootstrapAssemblyFilename)
 {
     try
     {
         ColoredOutput.WriteInformation("Loading BOOTSTRAP module...");
         return(ModuleDefinition.ReadModule(bootstrapAssemblyFilename));
     }
     catch (Exception e)
     {
         ErrorHandler.TerminateWithError($"Could't load BOOTSTRAP module definition. Exception details:\n{e}", TerminationReason.BootstrapModuleLoadFailed);
     }
     return(null);
 }
Example #2
0
 public static ModuleDefinition LoadGameModule(string gameAssemblyFileName)
 {
     try
     {
         ColoredOutput.WriteInformation("Loading TARGET module...");
         return(ModuleDefinition.ReadModule(gameAssemblyFileName, new ReaderParameters()
         {
             ReadWrite = true, InMemory = true
         }));
     }
     catch (Exception e)
     {
         ErrorHandler.TerminateWithError($"Couldn't load TARGET module definition. Exception details:\n{e}", TerminationReason.TargetModuleLoadFailed);
     }
     return(null);
 }