Skip to content

Instantly share code, notes, and snippets.

@NDiiong
Forked from jbogard/Composites.cs
Created June 24, 2020 16:40
Show Gist options
  • Save NDiiong/9f18e92faee1554b5f1275912091e27a to your computer and use it in GitHub Desktop.
Save NDiiong/9f18e92faee1554b5f1275912091e27a to your computer and use it in GitHub Desktop.
public interface IValidator<in T> {
}
public class CompositeValidator<T> : IValidator<T> {
public CompositeValidator(params IValidator<T>[] validators) {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment