Skip to content

Instantly share code, notes, and snippets.

@ameerthehacker
Created August 25, 2018 19:54
Show Gist options
  • Save ameerthehacker/49df3d169f62ce1e2ba73bef4ceec567 to your computer and use it in GitHub Desktop.
Save ameerthehacker/49df3d169f62ce1e2ba73bef4ceec567 to your computer and use it in GitHub Desktop.
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