Condividi tramite


Compilation.WithReferences Metodo

Definizione

Overload

WithReferences(IEnumerable<MetadataReference>)

Crea una nuova compilazione con i riferimenti specificati.

WithReferences(MetadataReference[])

Crea una nuova compilazione con i riferimenti specificati.

WithReferences(IEnumerable<MetadataReference>)

Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs

Crea una nuova compilazione con i riferimenti specificati.

public:
 Microsoft::CodeAnalysis::Compilation ^ WithReferences(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::MetadataReference ^> ^ newReferences);
public Microsoft.CodeAnalysis.Compilation WithReferences (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.MetadataReference> newReferences);
member this.WithReferences : seq<Microsoft.CodeAnalysis.MetadataReference> -> Microsoft.CodeAnalysis.Compilation
Public Function WithReferences (newReferences As IEnumerable(Of MetadataReference)) As Compilation

Parametri

newReferences
IEnumerable<MetadataReference>

Nuovi riferimenti.

Restituisce

Nuova compilazione.

Si applica a

WithReferences(MetadataReference[])

Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs
Origine:
Compilation.cs

Crea una nuova compilazione con i riferimenti specificati.

public:
 Microsoft::CodeAnalysis::Compilation ^ WithReferences(... cli::array <Microsoft::CodeAnalysis::MetadataReference ^> ^ newReferences);
public Microsoft.CodeAnalysis.Compilation WithReferences (params Microsoft.CodeAnalysis.MetadataReference[] newReferences);
member this.WithReferences : Microsoft.CodeAnalysis.MetadataReference[] -> Microsoft.CodeAnalysis.Compilation
Public Function WithReferences (ParamArray newReferences As MetadataReference()) As Compilation

Parametri

newReferences
MetadataReference[]

Nuovi riferimenti.

Restituisce

Nuova compilazione.

Si applica a