Interfaces

Project

Pages Html

NuGet packageOwin.Framework.Pages.Html
GitHub sourceOwinFramework.Pages.Html

Home |  Readme

[IsComponent] attribute | The OWIN Framework Pages

The [IsComponent] Attribute

Attach this attribute to a class to identify it as a component.

Example Usage

[IsComponent("defaultStyles")]
[PartOf("application")]
[DeployedAs("content")]
[DeployCss("p", "font-size:11pt;")]
[DeployCss("h1", "font-size:16pt;")]
[DeployCss("h2", "font-size:14pt;")]
[DeployCss("h3", "font-size:12pt;")]
internal class DefaultStylesComponent { }

The [IsComponent()] attribute does not have any other properties at this time.