public void ProcessAnnotations(ProcessAnnotationArgs args) { if (_processAnnotationsFunc != null) { try { var runtime_storage = new PythonRuntimeStorageWrapper(args.RuntimeStorage); _processAnnotationsFunc(runtime_storage); } catch (Exception e) { throw PythonScriptHost.Instance.GetFormattedException(e, Name); } } }
public PrefabSingleInterpretArgs(MutableTree tree, IRuntimeStorage runtimeStorage) { Tree = tree; RuntimeStorage = new PythonRuntimeStorageWrapper(runtimeStorage); }