コード例 #1
0
        string GetLocalMethodCode(PythonResolverContext resolverContext)
        {
            ScriptingLocalMethod localMethod = new ScriptingLocalMethod(resolverContext.FileContent);
            int beginLine = resolverContext.ExpressionRegion.BeginLine;

            return(localMethod.GetCode(beginLine));
        }
コード例 #2
0
 void CreateLocalMethod(string code)
 {
     method = new ScriptingLocalMethod(code);
 }