| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- //
- // 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);
- }
- }
- }
|