[ALL] Rename and move some things around

This commit is contained in:
Matt Nadareski
2016-10-03 15:29:40 -07:00
parent ec5b56e8f4
commit d71b38d90a
6 changed files with 41 additions and 39 deletions

View File

@@ -298,7 +298,7 @@ namespace SabreTools.Helper
/// <param name="skipperName">Name of the skipper to be used</param>
/// <param name="logger">Logger object for file and console output</param>
/// <returns>The SkipperRule that matched the file</returns>
public static SkipperRule MatchesSkipper(string input, string skipperName, Logger logger)
public static SkipperRule GetMatchingRule(string input, string skipperName, Logger logger)
{
// If the file doesn't exist, return a blank skipper rule
if (!File.Exists(input))
@@ -307,7 +307,7 @@ namespace SabreTools.Helper
return new SkipperRule();
}
return MatchesSkipper(File.OpenRead(input), skipperName, logger);
return GetMatchingRule(File.OpenRead(input), skipperName, logger);
}
/// <summary>
@@ -318,7 +318,7 @@ namespace SabreTools.Helper
/// <param name="logger">Logger object for file and console output</param>
/// <param name="keepOpen">True if the underlying stream should be kept open, false otherwise</param>
/// <returns>The SkipperRule that matched the file</returns>
public static SkipperRule MatchesSkipper(Stream input, string skipperName, Logger logger, bool keepOpen = false)
public static SkipperRule GetMatchingRule(Stream input, string skipperName, Logger logger, bool keepOpen = false)
{
SkipperRule skipperRule = new SkipperRule();