src/Azos/Templatization/TemplateCompiler.cs
/// <summary>
/// Removes assembly reference by its name if it was already referenced
/// </summary>
Removes assembly reference by its name if it was already referenced
Removes assembly reference by its name if it was already referenced
public bool UnReferenceAssembly(string aname)
         {
           if (aname==null)
             throw new TemplateCompilerException(StringConsts.ARGUMENT_ERROR + "UnReferenceAssembly(null)");
           EnsureNotCompiled();
           aname = aname.Trim();
           return m_ReferencedAssemblies.Remove(aname);
         }
public bool UnReferenceAssembly ( string aname ) { if ( aname == null ) throw new TemplateCompilerException ( StringConsts . ARGUMENT_ERROR + " " ) ; EnsureNotCompiled ( ) ; aname = aname . Trim ( ) ; return m_ReferencedAssemblies . Remove ( aname ) ; }
Removes assembly reference by its name if it was already referenced
Removes assembly reference by its name if it was already referenced
aname
string