Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class PartialActionExtensionsRegistry : Registry
- {
- public PartialActionExtensionsRegistry()
- {
- Scan(x =>
- {
- x.TheCallingAssembly();
- x.Include(type => type.Closes(typeof(IPartialActionExtension<>)));
- x.Exclude(type => type.IsInterface);
- x.Exclude(type => type.IsAbstract);
- x.With(new PartialActionExtensionsConvention());
- });
- }
- }
Add Comment
Please, Sign In to add comment