public static class Program
{
public static void Main(DotvvmResourceRepository resources)
{
// -----------------------------------------
// ------------------ OLD ------------------
// -----------------------------------------
resources.Register("FeatureSamples_Resources_CdnScriptPriority", new ScriptResource {
Location = new FileResourceLocation("~/Scripts/testResource.js"),
This file contains hidden or 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
| blueprint: | |
| name: Presence Light | |
| description: Turn on a light when presence is detected. | |
| domain: automation | |
| input: | |
| presence_entity: | |
| name: Presence Sensor | |
| description: Presence sensor device | |
| selector: | |
| entity: |
This file contains hidden or 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
| blueprint: | |
| name: Presence Light | |
| description: Turn on a light when presence is detected. | |
| domain: automation | |
| input: | |
| presence_entity: | |
| name: Presence Sensor | |
| description: Presence sensor device | |
| selector: | |
| entity: |
BenchmarkDotNet=v0.10.5, OS=ubuntu 16.04
Processor=Intel Xeon CPU E5-2660 0 2.20GHz, ProcessorCount=2
Frequency=1000000000 Hz, Resolution=1.0000 ns, Timer=UNKNOWN
dotnet cli version=2.0.0-preview2-005905
[Host] : .NET Core 4.6.25226.02, 64bit RyuJIT
DefaultJob : .NET Core 4.6.25226.02, 64bit RyuJIT
BenchmarkDotNet=v0.10.5, OS=ubuntu 16.04
Processor=Intel Xeon CPU E5-2660 0 2.20GHz, ProcessorCount=2
Frequency=1000000000 Hz, Resolution=1.0000 ns, Timer=UNKNOWN
dotnet cli version=1.0.3
[Host] : .NET Core 4.6.25009.03, 64bit RyuJIT
DefaultJob : .NET Core 4.6.25009.03, 64bit RyuJIT