diff --git a/README.md b/README.md index d55df8c..3650c9f 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,8 @@ class Widget ```csharp var widget = new Widget { Name = "" }; +// Get your serviceProvider from wherever makes sense +var serviceProvider = ... var isValid = MiniValidator.TryValidate(widget, serviceProvider, out var errors); class Widget : IValidatableObject