Search Results for

    Show / Hide Table of Contents

    Class IronPythonLanguage

    Implementation of the IronPython language to use in the simplic dlr implementation

    Inheritance
    System.Object
    IronPythonLanguage
    Implements
    IDlrLanguage
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.Dlr
    Assembly: Simplic.Dlr.dll
    Syntax
    public class IronPythonLanguage : IDlrLanguage

    Constructors

    | Improve this Doc View Source

    IronPythonLanguage()

    Create IronPythonLanguage instance for using in a DlrHost

    Declaration
    public IronPythonLanguage()

    Fields

    | Improve this Doc View Source

    LOAD_REFERENCES_AUTOMATICALLY

    Load references

    Declaration
    public const bool LOAD_REFERENCES_AUTOMATICALLY = true
    Field Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    PACKAGE_DEFINITION_FILE

    File which defines a package

    Declaration
    public const string PACKAGE_DEFINITION_FILE = "__init__.py"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    PACKAGE_SEPARATOR

    Character for package separation

    Declaration
    public const char PACKAGE_SEPARATOR = '/'
    Field Value
    Type Description
    System.Char
    | Improve this Doc View Source

    PYTHON_FILE_EXTENSION

    Default extension of a python file

    Declaration
    public const string PYTHON_FILE_EXTENSION = ".py"
    Field Value
    Type Description
    System.String

    Properties

    | Improve this Doc View Source

    Argv

    Gets or sets a list of arguments

    Declaration
    public IList<string> Argv { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IList<System.String>
    | Improve this Doc View Source

    EnableZipImporter

    Enable or disable zip-importer. By default it is disabled

    Declaration
    public bool EnableZipImporter { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    LanguageOptionSet

    Gets or sets a set of language options. For example Arguments for passing argv

    Declaration
    public IDictionary<string, object> LanguageOptionSet { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IDictionary<System.String, System.Object>
    | Improve this Doc View Source

    UseAssemblyAutodetection

    Autodetect assemblies on importing scripts

    Declaration
    public bool UseAssemblyAutodetection { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

    AddBuildInModule(String)

    Add Build-In module

    Declaration
    public void AddBuildInModule(string module)
    Parameters
    Type Name Description
    System.String module

    Module name, like sys or clr, ...

    | Improve this Doc View Source

    CreateEngine(ScriptRuntime)

    Create new scripting engine

    Declaration
    public ScriptEngine CreateEngine(ScriptRuntime runtime)
    Parameters
    Type Name Description
    ScriptRuntime runtime

    Instance of the current runtime enviroement

    Returns
    Type Description
    ScriptEngine

    Instance of IP script engine

    | Improve this Doc View Source

    CreateRuntime()

    Create new runtime setup

    Declaration
    public ScriptRuntimeSetup CreateRuntime()
    Returns
    Type Description
    ScriptRuntimeSetup

    Implements

    IDlrLanguage
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx