Skip to content

Instantly share code, notes, and snippets.

@rsoeteman
Created April 16, 2019 06:38
Show Gist options
  • Save rsoeteman/d3b42cfba4ec769a24a1a1a1ca31615b to your computer and use it in GitHub Desktop.
Save rsoeteman/d3b42cfba4ec769a24a1a1a1ca31615b to your computer and use it in GitHub Desktop.
Create Application
[RuntimeLevel(MinLevel = RuntimeLevel.Run)]
public class SEOCheckerComposer : IUserComposer
{
public void Compose(Composition composition)
{
//Make sure app exists
composition.WithCollectionBuilder<SectionCollectionBuilder>()
.Append<SEOCheckerApplication>();
}
}
/// <summary>
/// Rgeister application in config
/// </summary>
[PluginController("seochecker")]
public class SEOCheckerApplication : ISection
{
public string Alias => "seochecker";
public string Name => "SEO";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment