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