Ejemplo n.º 1
0
        private NodePlatform GetPlatform()
        {
            var options  = Options.Create(new NodeScriptGeneratorOptions());
            var platform = new NodePlatform(
                nodeScriptGeneratorOptions: options,
                nodeVersionProvider: null,
                logger: NullLogger <NodePlatform> .Instance,
                detector: null);

            return(platform);
        }
Ejemplo n.º 2
0
 public NodeUsageAttribute(NodeCategory category, NodePlatform platform)
 {
     Category = category;
     Platform = platform;
 }