Show / Hide Table of Contents

Class WasmGenerator

Inheritance
Object
GeneratorBase
DotNetCliGenerator
CsProjGenerator
WasmGenerator
Implements
IGenerator
IEquatable<CsProjGenerator>
Inherited Members
CsProjGenerator.RuntimeFrameworkVersion
CsProjGenerator.GetBuildArtifactsDirectoryPath(BuildPartition, String)
CsProjGenerator.GetProjectFilePath(String)
CsProjGenerator.GetRuntimeSettings(GcMode, IResolver)
CsProjGenerator.GetProjectFilePath(Type, ILogger)
CsProjGenerator.Equals(Object)
CsProjGenerator.Equals(CsProjGenerator)
CsProjGenerator.GetHashCode()
DotNetCliGenerator.TargetFrameworkMoniker
DotNetCliGenerator.CliPath
DotNetCliGenerator.PackagesPath
DotNetCliGenerator.IsNetCore
DotNetCliGenerator.GetExecutableExtension()
DotNetCliGenerator.GetArtifactsToCleanup(ArtifactsPaths)
DotNetCliGenerator.CopyAllRequiredFiles(ArtifactsPaths)
DotNetCliGenerator.GetPackagesDirectoryPath(String)
DotNetCliGenerator.GenerateBuildScript(BuildPartition, ArtifactsPaths)
GeneratorBase.GenerateProject(BuildPartition, ILogger, String)
GeneratorBase.GenerateNuGetConfig(ArtifactsPaths)
GeneratorBase.GenerateAppConfig(BuildPartition, ArtifactsPaths)
GeneratorBase.GenerateCode(BuildPartition, ArtifactsPaths)
Namespace: BenchmarkDotNet.Toolchains.MonoWasm
Assembly: BenchmarkDotNet.dll
Syntax
public class WasmGenerator : CsProjGenerator, IGenerator, IEquatable<CsProjGenerator>

Constructors

WasmGenerator(String, String, String, String, Boolean)

Declaration
public WasmGenerator(string targetFrameworkMoniker, string cliPath, string packagesPath, string customRuntimePack, bool aot)
Parameters
Type Name Description
String targetFrameworkMoniker
String cliPath
String packagesPath
String customRuntimePack
Boolean aot

Methods

GenerateProject(BuildPartition, ArtifactsPaths, ILogger)

Declaration
protected override void GenerateProject(BuildPartition buildPartition, ArtifactsPaths artifactsPaths, ILogger logger)
Parameters
Type Name Description
BuildPartition buildPartition
ArtifactsPaths artifactsPaths
ILogger logger
Overrides
CsProjGenerator.GenerateProject(BuildPartition, ArtifactsPaths, ILogger)

GenerateProjectFile(BuildPartition, ArtifactsPaths, Boolean, ILogger)

Declaration
protected void GenerateProjectFile(BuildPartition buildPartition, ArtifactsPaths artifactsPaths, bool aot, ILogger logger)
Parameters
Type Name Description
BuildPartition buildPartition
ArtifactsPaths artifactsPaths
Boolean aot
ILogger logger

GetBinariesDirectoryPath(String, String)

Declaration
protected override string GetBinariesDirectoryPath(string buildArtifactsDirectoryPath, string configuration)
Parameters
Type Name Description
String buildArtifactsDirectoryPath
String configuration
Returns
Type Description
String
Overrides
CsProjGenerator.GetBinariesDirectoryPath(String, String)

GetExecutablePath(String, String)

Declaration
protected override string GetExecutablePath(string binariesDirectoryPath, string programName)
Parameters
Type Name Description
String binariesDirectoryPath
String programName
Returns
Type Description
String
Overrides
GeneratorBase.GetExecutablePath(String, String)

Implements

IGenerator
System.IEquatable<T>
In This Article
Back to top Copyright © 2013–2021 .NET Foundation and contributors