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);
        }
Exemple #2
0
 public NodeUsageAttribute(NodeCategory category, NodePlatform platform)
 {
     Category = category;
     Platform = platform;
 }