public void RegisterComponents(IComponentRegistry componentRegistry)
        {
            if (componentRegistry == null)
            {
                throw new ArgumentNullException(nameof(componentRegistry));
            }

            componentRegistry.RegisterComponent <ICompilationService>(new RoslynCompilationService());

            componentRegistry.RegisterComponentWithDependencies <ITemplateProcessor, RazorTemplateProcessor>();
        }