Mono.CSharp.CompilerCallableEntryPoint.InvokeCompiler C# (CSharp) Méthode

InvokeCompiler() public static méthode

public static InvokeCompiler ( string args, TextWriter error ) : bool
args string
error System.IO.TextWriter
Résultat bool
		public static bool InvokeCompiler (string [] args, TextWriter error)
		{
			try {
				StreamReportPrinter srp = new StreamReportPrinter (error);
				Driver d = Driver.Create (args, true, null, srp);
				if (d == null)
					return false;

				return d.Compile () && srp.ErrorsCount == 0;
			} finally {
				Reset ();
			}
		}
CompilerCallableEntryPoint