Game Development Reference
In-Depth Information
using System;
using System.IO;
using System.Reflection;
using System.CodeDom;
using System.CodeDom.Compiler;
using System.Collections.Generic;
namespace Plugin.Manager
{
internal class PluginFactory
{
private CompilerErrorCollection compileErrors
= new CompilerErrorCollection();
public CompilerErrorCollection CompileErrors
{
get { return compileErrors; }
}
public Assembly CompilePluginSource(string fileName)
{
return CompilePluginSource(new List<string>
(new string[]
{ fileName }),
null);
}
public Assembly CompilePluginSource(List<string> fileNames)
{
return CompilePluginSource(fileNames, null);
}
public Assembly CompilePluginSource(string fileName,
List<string> references)
{
return CompilePluginSource(new List<string>
(new string[]
{ fileName }),
references);
}
public Assembly CompilePluginSource(List<string> fileNames,
List<string> references)
Search Nedrilad ::




Custom Search