YAMP.ParserExtensions.LoadPlugin C# (CSharp) Method

LoadPlugin() public static method

Loads an external library (assembly) that uses IFunction, Operator, ..., into the primary context.
public static LoadPlugin ( this parser, Assembly assembly ) : System.Guid
parser this The parser to extend.
assembly System.Reflection.Assembly /// The assembly to load as a plugin. ///
return System.Guid
        public static Guid LoadPlugin(this Parser parser, Assembly assembly)
        {
            return parser.Context.Elements.RegisterAssembly(parser.Context, assembly);
        }