public ActionLibrary GetActionLibrary(int libid) { ActionLibrary lib; if (Libraries.TryGetValue(libid, out lib)) return lib; lib = new ActionLibrary(this, libid); Libraries.Add(libid, lib); return lib; }
public ActionLibrary GetActionLibrary(int libid) { ActionLibrary lib; if (Libraries.TryGetValue(libid, out lib)) { return(lib); } lib = new ActionLibrary(this, libid); Libraries.Add(libid, lib); return(lib); }