simplic / simplic-dlr

Provides classes and methods to easily integrate dlr languages like IronPython into your application without loosing flexibility.
MIT License
3 stars 1 forks source link

Using precompiled code as module #1

Closed simplicbe closed 8 years ago

simplicbe commented 8 years ago

Using precompiled code as module is available as parameter, but not yet implemented:

/// <summary>
/// Precompile code and store it in a dictioanry
/// </summary>
/// <param name="name">Unique name of the script, to access it later</param>
/// <param name="code">Code to compile</param>
/// <param name="overrideExisting">True if existing scripts with the same name can be overriden. If set to false and the
/// script alredy exists, an exception will be thrown</param>
/// <param name="isModule">Register also as module, so it can be load with the `import` command. !!!Not yet implemented!!!</param>
public void PreCompile(string name, string code, bool overrideExisting = true, bool isModule = false)
{
    // ....
}    
simplicbe commented 8 years ago

Closed with v1.0.1.0