Compiler Klass

Definition

Varning

The recommended alternative is Microsoft.CSharp.CSharpCodeProvider and System.CodeDom.Compiler.ICodeCompiler. The CSharpCodeProvider and CodeDom ICodeCompiler provide a much richer set of functionality for specifying how to launch the compiler.

Hanterad omslutning för C#-kompilatorn.

public ref class Compiler
public class Compiler
[System.Obsolete("The recommended alternative is Microsoft.CSharp.CSharpCodeProvider and System.CodeDom.Compiler.ICodeCompiler.  The CSharpCodeProvider and CodeDom ICodeCompiler provide a much richer set of functionality for specifying how to launch the compiler.")]
public class Compiler
type Compiler = class
[<System.Obsolete("The recommended alternative is Microsoft.CSharp.CSharpCodeProvider and System.CodeDom.Compiler.ICodeCompiler.  The CSharpCodeProvider and CodeDom ICodeCompiler provide a much richer set of functionality for specifying how to launch the compiler.")>]
type Compiler = class
Public Class Compiler
Arv
Compiler
Attribut

Kommentarer

Om du vill kompilera C#-kod i processen anropar du Compile(String[], String[], String, String[], IDictionary).

Metoder

Name Description
Compile(String[], String[], String, String[], IDictionary)
Föråldrad.

Kompilerar de angivna C#-källorna till den angivna målfilen.

Equals(Object)
Föråldrad.

Avgör om det angivna objektet är lika med det aktuella objektet.

(Ärvd från Object)
GetHashCode()
Föråldrad.

Fungerar som standard-hash-funktion.

(Ärvd från Object)
GetType()
Föråldrad.

Hämtar den aktuella instansen Type .

(Ärvd från Object)
MemberwiseClone()
Föråldrad.

Skapar en ytlig kopia av den aktuella Object.

(Ärvd från Object)
ToString()
Föråldrad.

Returnerar en sträng som representerar det aktuella objektet.

(Ärvd från Object)

Gäller för