public ProcessCommand ( string val, IYnote ynote ) : void | ||
val | string | |
ynote | IYnote | |
return | void |
public void ProcessCommand(string val, IYnote ynote)
{
foreach (var file in Directory.GetFiles(GlobalSettings.SettingsDir, "*.ys", SearchOption.AllDirectories))
if (Path.GetFileName(file) == val + ".ys")
YnoteScript.RunScript(ynote, file);
}