XomlCompilerResults.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / Common / AuthoringOM / Compiler / XomlCompilerResults.cs / 1305376 / XomlCompilerResults.cs

                            namespace System.Workflow.ComponentModel.Compiler 
{
 	using System;
	using System.Collections.Generic;
	using System.CodeDom; 
	using System.CodeDom.Compiler;
 
    [Serializable] 
 	public sealed class WorkflowCompilerResults: CompilerResults
	{ 
 		private CodeCompileUnit compiledCCU;

 		internal WorkflowCompilerResults(TempFileCollection tempFiles):base(tempFiles)
		{ 
 		}
 
		public CodeCompileUnit CompiledUnit 
		{
			get 
 			{
				return this.compiledCCU;
 			}
 			internal set 
			{
 				this.compiledCCU = value; 
			} 
		}
 
		internal void AddCompilerErrorsFromCompilerResults(CompilerResults results)
 		{
			foreach (CompilerError error in results.Errors)
 				base.Errors.Add(new WorkflowCompilerError(error)); 
 			foreach (string msg in results.Output)
				base.Output.Add(msg); 
 		} 
	}
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK