protected override IApplicationModule OnBuild(IApplication application)
        {
            var context = new ElementContext {
                application
            };
            IElementModuleDescription description = GetDescription();

            return(new ElementModule(context, description));
        }
Example #2
0
 public ElementModule(IElementContext context, IElementModuleDescription description)
 {
     Context     = context ?? throw new ArgumentNullException(nameof(context));
     Description = description ?? throw new ArgumentNullException(nameof(description));
 }