-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4ac56d2
commit 035629e
Showing
39 changed files
with
560 additions
and
521 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
namespace BinaryFog.NameParser { | ||
/// <summary> | ||
/// Implement this interface if you wish for your name parser pattern | ||
/// to be automatically discovered and used by the <see cref="FullNameParser"/>. | ||
/// | ||
/// The implementing class must be public to be discovered automatically. | ||
/// | ||
/// Feel free to submit your patterns upstream to the repository or create a separate pattern library. | ||
/// </summary> | ||
public interface IFullNamePattern { | ||
/// <summary> | ||
/// Attempt to parse a name through the pattern. | ||
/// </summary> | ||
/// <param name="rawName">A raw name.</param> | ||
/// <returns>A scored parsed result.</returns> | ||
ParsedFullName Parse(string rawName); | ||
/// <summary> | ||
/// Implement this interface if you wish for your name parser pattern | ||
/// to be automatically discovered and used by the <see cref="FullNameParser"/>. | ||
/// | ||
/// The implementing class must be public to be discovered automatically. | ||
/// | ||
/// Feel free to submit your patterns upstream to the repository or create a separate pattern library. | ||
/// </summary> | ||
public interface IFullNamePattern | ||
{ | ||
|
||
} | ||
/// <summary> | ||
/// Attempt to parse a name through the pattern. | ||
/// </summary> | ||
/// <param name="rawName">A raw name.</param> | ||
/// <returns>A scored parsed result.</returns> | ||
ParsedFullName Parse(string rawName); | ||
|
||
} | ||
} |
Oops, something went wrong.