Created
August 25, 2018 19:54
-
-
Save ameerthehacker/49df3d169f62ce1e2ba73bef4ceec567 to your computer and use it in GitHub Desktop.
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
namespace XamarinFormValidation.Validators.Contracts | |
{ | |
public interface IValidator | |
{ | |
string Message { get; set; } | |
bool Check(string value); | |
} | |
public interface IAsyncValidator | |
{ | |
string Message { get; set; } | |
Task<bool> Check(string value); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment