Skip to content

Instantly share code, notes, and snippets.

@ameerthehacker
Last active August 25, 2018 19:00
Show Gist options
  • Save ameerthehacker/26cdb1faf60fcf67ac95debf3d768d86 to your computer and use it in GitHub Desktop.
Save ameerthehacker/26cdb1faf60fcf67ac95debf3d768d86 to your computer and use it in GitHub Desktop.
...
namespace XamarinFormValidation.Behaviors
{
public class ValidationGroupBehavior: Behavior<View>
{
...
public void Add(ValidationBehavior validationBehavior)
{
_validationBehaviors.Add(validationBehavior);
}
public void Remove(ValidationBehavior validationBehavior)
{
_validationBehaviors.Remove(validationBehavior);
}
...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment