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