Inheritance: CompNamed, ICompAttributeContainer
Beispiel #1
0
		bool TryLoad (ref CompAssembly assembly, Func<CompAssembly> loader)
		{
			try {
				assembly = loader ();
				return true;
			} catch (Exception e) {
				OnError (e.ToString ());
				return false;
			}
		}
Beispiel #2
0
 bool TryLoad(ref CompAssembly assembly, Func <CompAssembly> loader)
 {
     try {
         assembly = loader();
         return(true);
     } catch (Exception e) {
         OnError(e.ToString());
         return(false);
     }
 }