/// <summary> /// Register a receptor given just the assembly filename. The receptor assembly must still be loaded /// by calling LoadReceptors. Used for registering receptors in a batch before instantiating them. /// </summary> /// <param name="filename"></param> public IReceptor RegisterReceptor(string filename) { Receptor r = Receptor.FromFile(filename).Instantiate(this); receptors.Add(r); return(r); }