/// <summary>
 /// References the assembly by the given namespace it implements.
 /// <para>Adds assembly reference if the namespace was successfully resolved (found) and, otherwise does nothing</para>
 /// </summary>
 /// <param name="namespace">The namespace.</param>
 /// <returns>The instance of the <see cref="CSScriptLibrary.IEvaluator"/> to allow  fluent interface.</returns>
 public IEvaluator ReferenceAssemblyByNamespace(string @namespace)
 {
     foreach (string asm in AssemblyResolver.FindGlobalAssembly(@namespace))
     {
         ReferenceAssembly(asm);
     }
     return(this);
 }
#pragma warning restore 618
        /// <summary>
        /// References the assembly by the given namespace it implements.
        /// </summary>
        /// <param name="namespace">The namespace.</param>
        /// <param name="resolved">Set to <c>true</c> if the namespace was successfully resolved (found) and
        /// the reference was added; otherwise, <c>false</c>.</param>
        /// <returns>The instance of the <see cref="CSScriptLibrary.IEvaluator"/> to allow  fluent interface.</returns>
        public IEvaluator TryReferenceAssemblyByNamespace(string @namespace, out bool resolved)
        {
            resolved = false;
            foreach (string asm in AssemblyResolver.FindGlobalAssembly(@namespace))
            {
                resolved = true;
                ReferenceAssembly(asm);
            }
            return(this);
        }