adTempus API
ArcanaDevelopment.adTempus.Client Namespace / ScriptLibrary Class / SerializeForCompilation Method

In This Topic
    SerializeForCompilation Method
    In This Topic
    Serialize the DTO so it can be passed to ScriptEngine.CompileScriptLibrary.
    Syntax
    'Declaration
     
    
    Public Function SerializeForCompilation() As String
    public string SerializeForCompilation()
    Remarks
    The Console needs to be able to compile script libraries to assemblies so the Script Editor can read them to do intellisense. Don't want to create ScriptEngine dependency on Client or have client exposing DTO classes, so we serialize the DTO here, and ScriptEngine deserializes it.
    See Also