public static Exists ( string path ) : bool | ||
path | string | |
Результат | bool |
public static bool Exists(string path)
{
return new FileInfo(path).Exists;
}
public virtual bool IsSupported(IEnumerable <string> args) { OperationStart = DateTime.Now; if (FileUtils.Exists(Compiler.CompilerExe)) { var rv = Compiler.ProcessArguments(args.ToArray()); if (!rv) { Logging.Emit("args not supported {0}", Cache.GetType().Name); } return(rv); } throw new FileNotFoundException(Compiler.CompilerExe); }