mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
* System.Web.Compilation/AspGenerator.cs: added support for AutoEventWireup attribute in @Page and @Control. * System.Web.Compilation/CompilationResult.cs: * System.Web.Compilation/GlobalAsaxCompiler.cs: * System.Web.Compilation/PageCompiler.cs: * System.Web.Compilation/UserControlCompiler.cs: store the options. * System.Web.UI/Control.cs: added AutoEventWireup internal property. * System.Web.UI/Page.cs: removed page events wire up from here. * System.Web.UI/TemplateControl.cs: new method WireupAutomaticEvents to hook up page and user controls events. * System.Web.UI/TemplateControlParser.cs: process the options that are applicable once we have the instance of the control. * System.Web.UI/TemplateParser.cs: also stores the options. * System.Web.UI/UserControl.cs: hook up events before initializing the control. svn path=/trunk/mcs/; revision=9623
72 lines
1.2 KiB
C#
72 lines
1.2 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 output;
|
|
string outputFile;
|
|
object data;
|
|
Hashtable options;
|
|
|
|
public CompilationResult ()
|
|
{
|
|
}
|
|
|
|
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 = exitCode; }
|
|
}
|
|
|
|
public string CompilerOutput {
|
|
get { return output; }
|
|
set { output = value; }
|
|
}
|
|
|
|
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 override string ToString ()
|
|
{
|
|
return String.Format ("CompilationResult: {0} {1} {2} {3}", exitCode, output, outputFile, data);
|
|
}
|
|
}
|
|
}
|
|
|