C# Class Evaluator.AssemblyResults

Wraps the results of a programmatically-accessed compilation with the warnings generated by the compiler.
Exibir arquivo Open project: swax/SwarmNLP Class Usage Examples

Public Methods

Method Description
GetType ( string typeName, bool throwOnError ) : TypeResults

Gets the Type object that represents the specified type from the compiled assembly. Assembly.GetType

Protected Methods

Method Description
AssemblyResults ( CompilerResults fullResults ) : System

Initializes a new instance of the AssemblyResults class.

AssemblyResults ( CompilerResults fullResults, string resultSource ) : System

Initializes a new instance of the AssemblyResults class.

Method Details

AssemblyResults() protected method

Initializes a new instance of the AssemblyResults class.
protected AssemblyResults ( CompilerResults fullResults ) : System
fullResults System.CodeDom.Compiler.CompilerResults /// The results of the programmatically-accessed compilation. ///
return System

AssemblyResults() protected method

Initializes a new instance of the AssemblyResults class.
protected AssemblyResults ( CompilerResults fullResults, string resultSource ) : System
fullResults System.CodeDom.Compiler.CompilerResults /// The results of the programmatically-accessed compilation. ///
resultSource string /// The source that the compiler attempted to compile. ///
return System

GetType() public method

Gets the Type object that represents the specified type from the compiled assembly. Assembly.GetType
public GetType ( string typeName, bool throwOnError ) : TypeResults
typeName string /// The full name of the type. ///
throwOnError bool /// true to throw an exception if the type is not found; otherwise, a null reference (Nothing in Visual Basic) is returned. ///
return TypeResults