mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
* AspGenerator.cs: * BaseCompiler.cs: * CachingCompiler.cs: * CompilationResult.cs: * GlobalAsaxCompiler.cs: * PageCompiler.cs: * UserControlCompiler.cs: recompile the page if dependencies change. svn path=/trunk/mcs/; revision=12401
88 lines
1.5 KiB
C#
88 lines
1.5 KiB
C#
//
|
|
// System.Web.Compilation.CompilationResult
|
|
//
|
|
// Authors:
|
|
// Gonzalo Paniagua Javier ([email protected])
|
|
//
|
|
// (C) 2002 Ximian, Inc (http://www.ximian.com)
|
|
//
|
|
using System;
|
|
using System.Collections;
|
|
|
|
namespace System.Web.Compilation
|
|
{
|
|
internal class CompilationResult
|
|
{
|
|
int exitCode;
|
|
string fileName;
|
|
string output;
|
|
string outputFile;
|
|
object data;
|
|
Hashtable options;
|
|
ArrayList dependencies;
|
|
|
|
public CompilationResult ()
|
|
{
|
|
}
|
|
|
|
public CompilationResult (string fileName)
|
|
{
|
|
this.fileName = fileName;
|
|
}
|
|
|
|
public void Reset ()
|
|
{
|
|
exitCode = 0;
|
|
output = null;
|
|
}
|
|
|
|
public void CopyFrom (CompilationResult other)
|
|
{
|
|
exitCode = other.ExitCode;
|
|
output = other.output;
|
|
outputFile = other.outputFile;
|
|
data = other.data;
|
|
}
|
|
|
|
public int ExitCode {
|
|
get { return exitCode; }
|
|
set { exitCode = value; }
|
|
}
|
|
|
|
public string CompilerOutput {
|
|
get { return output; }
|
|
set { output = value; }
|
|
}
|
|
|
|
public string FileName {
|
|
get { return fileName; }
|
|
}
|
|
|
|
public string OutputFile {
|
|
get { return outputFile; }
|
|
set { outputFile = value; }
|
|
}
|
|
|
|
public object Data {
|
|
get { return data; }
|
|
set { data = value; }
|
|
}
|
|
|
|
public Hashtable Options {
|
|
get { return options; }
|
|
set { options = value; }
|
|
}
|
|
|
|
public ArrayList Dependencies {
|
|
get { return dependencies; }
|
|
set { dependencies = value; }
|
|
}
|
|
|
|
public override string ToString ()
|
|
{
|
|
return String.Format ("CompilationResult: {0} {1} {2} {3}", exitCode, output, outputFile, data);
|
|
}
|
|
}
|
|
}
|
|
|