src/Azos/Templatization/TemplateCompiler.cs
/// <summary>
/// References assembly by its name if it is already not referenced
/// </summary>
References assembly by its name if it is already not referenced
References assembly by its name if it is already not referenced
public void ReferenceAssembly(string aname)
         {
           if (aname==null)
             throw new TemplateCompilerException(StringConsts.ARGUMENT_ERROR + "ReferenceAssembly(null)");
           EnsureNotCompiled();
           aname = aname.Trim();
           if (!m_ReferencedAssemblies.Contains(aname))
            m_ReferencedAssemblies.Add(aname);
         }
public void ReferenceAssembly ( string aname ) { if ( aname == null ) throw new TemplateCompilerException ( StringConsts . ARGUMENT_ERROR + " " ) ; EnsureNotCompiled ( ) ; aname = aname . Trim ( ) ; if ( ! m_ReferencedAssemblies . Contains ( aname ) ) m_ReferencedAssemblies . Add ( aname ) ; }
References assembly by its name if it is already not referenced
References assembly by its name if it is already not referenced
aname
string