| 1234567891011121314151617181920 |
- using Statum;
- namespace {{NS}} {
- public class {{CLASS}}PagePublic : Object {
- public string message { get; set; default = ""; }
- }
- /**
- * Entrypoint for {{ROUTE}}.
- */
- public class {{CLASS}}Entrypoint : StatumEntrypoint {
- public override async DirectiveBuilder handle() throws GLib.Error {
- var page = new {{CLASS}}PagePublic();
- page.message = "Replace this with your content.";
- return directives().set_typed<{{CLASS}}PagePublic>("page", Scope.PAGE, page);
- }
- }
- }
|