CClash.CacheSessionContext.IsSupported C# (CSharp) Method

IsSupported() public method

public IsSupported ( IEnumerable args ) : bool
args IEnumerable
return bool
        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);
        }