Created
April 16, 2019 06:38
-
-
Save rsoeteman/d3b42cfba4ec769a24a1a1a1ca31615b to your computer and use it in GitHub Desktop.
Create Application
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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