Encog.App.Analyst.Script.AnalystScript.ResolveFilename C# (CSharp) Method

ResolveFilename() public method

Resolve the specified filename.
public ResolveFilename ( String sourceID ) : FileInfo
sourceID String The filename to resolve.
return System.IO.FileInfo
        public FileInfo ResolveFilename(String sourceID)
        {
            String name = Properties.GetFilename(sourceID);

            if ( name.IndexOf(Path.PathSeparator) == -1 && _basePath != null)
            {
                return FileUtil.CombinePath(new FileInfo(_basePath) , name);
            }
            return new FileInfo(name);
        }