static public EntityDef GetEnityDefByName(string name) { using (BasicChannel channel = new BasicChannel()) { return(channel.GetEnityDefByName(name)); } }