Guest User

Untitled

a guest
Jun 20th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. public class PartialActionExtensionsRegistry : Registry
  2. {
  3. public PartialActionExtensionsRegistry()
  4. {
  5. Scan(x =>
  6. {
  7. x.TheCallingAssembly();
  8. x.Include(type => type.Closes(typeof(IPartialActionExtension<>)));
  9. x.Exclude(type => type.IsInterface);
  10. x.Exclude(type => type.IsAbstract);
  11. x.With(new PartialActionExtensionsConvention());
  12. });
  13. }
  14. }
Add Comment
Please, Sign In to add comment