CompilationLoader Constructors

Definition

Overloads

CompilationLoader(CompilationLoader+SourceLoader, CompilationLoader+ReferenceLoader, CompilationLoader+Configuration, ILogger)

Builds the compilation for the source files and references loaded by the given loaders, executing the compilation steps specified by the given options. Uses the specified logger to log all diagnostic events.

CompilationLoader(CompilationLoader+SourceLoader, IEnumerable<String>, CompilationLoader+Configuration, ILogger)

Builds the compilation of the content returned by the given loader and the specified references, executing the compilation steps specified by the given options. Uses the specified logger to log all diagnostic events.

CompilationLoader(IEnumerable<String>, CompilationLoader+ReferenceLoader, CompilationLoader+Configuration, ILogger)

Builds the compilation of the specified source files and the loaded references returned by the given loader, executing the compilation steps specified by the given options. Uses the specified logger to log all diagnostic events.

CompilationLoader(IEnumerable<String>, IEnumerable<String>, CompilationLoader+Configuration, ILogger)

Builds the compilation of the specified source files and references, executing the compilation steps specified by the given options. Uses the specified logger to log all diagnostic events.

CompilationLoader(CompilationLoader+SourceLoader, CompilationLoader+ReferenceLoader, CompilationLoader+Configuration, ILogger)

Builds the compilation for the source files and references loaded by the given loaders, executing the compilation steps specified by the given options. Uses the specified logger to log all diagnostic events.

public CompilationLoader (Microsoft.Quantum.QsCompiler.CompilationLoader.SourceLoader loadSources, Microsoft.Quantum.QsCompiler.CompilationLoader.ReferenceLoader loadReferences, Microsoft.Quantum.QsCompiler.CompilationLoader.Configuration? options = default, Microsoft.Quantum.QsCompiler.Diagnostics.ILogger? logger = default);
new Microsoft.Quantum.QsCompiler.CompilationLoader : Microsoft.Quantum.QsCompiler.CompilationLoader.SourceLoader * Microsoft.Quantum.QsCompiler.CompilationLoader.ReferenceLoader * Microsoft.Quantum.QsCompiler.CompilationLoader.Configuration * Microsoft.Quantum.QsCompiler.Diagnostics.ILogger -> Microsoft.Quantum.QsCompiler.CompilationLoader
Public Sub New (loadSources As CompilationLoader.SourceLoader, loadReferences As CompilationLoader.ReferenceLoader, Optional options As CompilationLoader.Configuration = Nothing, Optional logger As ILogger = Nothing)

Parameters

logger
ILogger

Remarks

This method waits for Tasks to complete and may deadlock if invoked through a Task.

Applies to

CompilationLoader(CompilationLoader+SourceLoader, IEnumerable<String>, CompilationLoader+Configuration, ILogger)

Builds the compilation of the content returned by the given loader and the specified references, executing the compilation steps specified by the given options. Uses the specified logger to log all diagnostic events.

public CompilationLoader (Microsoft.Quantum.QsCompiler.CompilationLoader.SourceLoader loadSources, System.Collections.Generic.IEnumerable<string> references, Microsoft.Quantum.QsCompiler.CompilationLoader.Configuration? options = default, Microsoft.Quantum.QsCompiler.Diagnostics.ILogger? logger = default);
new Microsoft.Quantum.QsCompiler.CompilationLoader : Microsoft.Quantum.QsCompiler.CompilationLoader.SourceLoader * seq<string> * Microsoft.Quantum.QsCompiler.CompilationLoader.Configuration * Microsoft.Quantum.QsCompiler.Diagnostics.ILogger -> Microsoft.Quantum.QsCompiler.CompilationLoader
Public Sub New (loadSources As CompilationLoader.SourceLoader, references As IEnumerable(Of String), Optional options As CompilationLoader.Configuration = Nothing, Optional logger As ILogger = Nothing)

Parameters

references
IEnumerable<String>
logger
ILogger

Applies to

CompilationLoader(IEnumerable<String>, CompilationLoader+ReferenceLoader, CompilationLoader+Configuration, ILogger)

Builds the compilation of the specified source files and the loaded references returned by the given loader, executing the compilation steps specified by the given options. Uses the specified logger to log all diagnostic events.

public CompilationLoader (System.Collections.Generic.IEnumerable<string> sources, Microsoft.Quantum.QsCompiler.CompilationLoader.ReferenceLoader loadReferences, Microsoft.Quantum.QsCompiler.CompilationLoader.Configuration? options = default, Microsoft.Quantum.QsCompiler.Diagnostics.ILogger? logger = default);
new Microsoft.Quantum.QsCompiler.CompilationLoader : seq<string> * Microsoft.Quantum.QsCompiler.CompilationLoader.ReferenceLoader * Microsoft.Quantum.QsCompiler.CompilationLoader.Configuration * Microsoft.Quantum.QsCompiler.Diagnostics.ILogger -> Microsoft.Quantum.QsCompiler.CompilationLoader
Public Sub New (sources As IEnumerable(Of String), loadReferences As CompilationLoader.ReferenceLoader, Optional options As CompilationLoader.Configuration = Nothing, Optional logger As ILogger = Nothing)

Parameters

sources
IEnumerable<String>
logger
ILogger

Applies to

CompilationLoader(IEnumerable<String>, IEnumerable<String>, CompilationLoader+Configuration, ILogger)

Builds the compilation of the specified source files and references, executing the compilation steps specified by the given options. Uses the specified logger to log all diagnostic events.

public CompilationLoader (System.Collections.Generic.IEnumerable<string> sources, System.Collections.Generic.IEnumerable<string> references, Microsoft.Quantum.QsCompiler.CompilationLoader.Configuration? options = default, Microsoft.Quantum.QsCompiler.Diagnostics.ILogger? logger = default);
new Microsoft.Quantum.QsCompiler.CompilationLoader : seq<string> * seq<string> * Microsoft.Quantum.QsCompiler.CompilationLoader.Configuration * Microsoft.Quantum.QsCompiler.Diagnostics.ILogger -> Microsoft.Quantum.QsCompiler.CompilationLoader
Public Sub New (sources As IEnumerable(Of String), references As IEnumerable(Of String), Optional options As CompilationLoader.Configuration = Nothing, Optional logger As ILogger = Nothing)

Parameters

sources
IEnumerable<String>
references
IEnumerable<String>
logger
ILogger

Applies to