bool TryLoad (ref CompAssembly assembly, Func<CompAssembly> loader) { try { assembly = loader (); return true; } catch (Exception e) { OnError (e.ToString ()); return false; } }
bool TryLoad(ref CompAssembly assembly, Func <CompAssembly> loader) { try { assembly = loader(); return(true); } catch (Exception e) { OnError(e.ToString()); return(false); } }