RunScriptCommand.ProcessCommand C# (CSharp) Méthode

ProcessCommand() public méthode

public ProcessCommand ( string val, IYnote ynote ) : void
val string
ynote IYnote
Résultat 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