CompilationLoader.Configuration.AssemblyConstants Property

Definition

Handle to pass arbitrary constants with which to populate the corresponding dictionary for loaded rewrite steps. These values will take precedence over any already existing values that the default constructor sets. However, the compiler may overwrite the assembly constants defined for the Q# compilation unit in the dictionary of the loaded step. The given dictionary in this configuration is left unchanged in any case.

public System.Collections.Generic.IReadOnlyDictionary<string,string>? AssemblyConstants { get; set; }
member this.AssemblyConstants : System.Collections.Generic.IReadOnlyDictionary<string, string> with get, set
Public Property AssemblyConstants As IReadOnlyDictionary(Of String, String)

Property Value

IReadOnlyDictionary<String,String>

Applies to