A Sandcastle Documented Class Library
A Sandcastle Documented Class Library
CSScriptLib
RoslynEvaluator Class
RoslynEvaluator Methods
Check Method
Clone Method
CompileAssemblyFromCode Method
CompileAssemblyFromFile Method
CompileCode Method
CompileMethod Method
CreateDelegate Method
GetReferencedAssemblies Method
LoadCode Method
LoadCompilers Method
LoadDelegate(T) Method
LoadFile Method
LoadMethod Method
ReferenceAssembliesFromCode Method
ReferenceAssembly Method
ReferenceAssemblyByName Method
ReferenceAssemblyByNamespace Method
ReferenceAssemblyOf Method
ReferenceDomainAssemblies Method
Reset Method
TryReferenceAssemblyByNamespace Method
RoslynEvaluator
TryReferenceAssemblyByNamespace Method
References the assembly by the given namespace it implements.
Namespace:
CSScriptLib
Assembly:
CSScriptLib (in CSScriptLib.dll) Version: 1.3.2.0
Syntax
C#
Copy
public
IEvaluator
TryReferenceAssemblyByNamespace
(
string
namespace
,
out
bool
resolved
)
Parameters
namespace
Type:
System
String
The namespace.
resolved
Type:
System
Boolean
Set to
true
if the namespace was successfully resolved (found) and the reference was added; otherwise,
false
.
Return Value
Type:
IEvaluator
The instance of the
IEvaluator
to allow fluent interface.
Implements
IEvaluator
TryReferenceAssemblyByNamespace(String, Boolean
)
See Also
Reference
RoslynEvaluator Class
CSScriptLib Namespace