Aqueduct.Configuration.Loaders.ConfigurationFileLocator.GetConfigurationFile C# (CSharp) Method

GetConfigurationFile() public method

public GetConfigurationFile ( ) : string
return string
        public string GetConfigurationFile ()
        {
            foreach (string location in _locations)
            {
                string fullPath = _context.ResolvePath (location);
                if (File.Exists (fullPath))
                    return fullPath;
            }

            throw new FileNotFoundException ("Cannot find configuration file. Tried location: " +
                                             string.Join (" | ", _locations));
        }