RunScriptCommand.ProcessCommand C# (CSharp) 메소드

ProcessCommand() 공개 메소드

public ProcessCommand ( string val, IYnote ynote ) : void
val string
ynote IYnote
리턴 void
    public void ProcessCommand(string val, IYnote ynote)
    {
        var edit = ynote.Panel.ActiveDocument as Editor;
        var item = RunScript.Get(GlobalSettings.SettingsDir + @"RunScripts\" + val + ".ynoterun");
        if (item == null) return;
        if (edit != null) // item.ProcessConfiguration(edit.Name);
            item.Run();
    }
RunScriptCommand