ReflectionDataSetContainsAssembly Method

This is used to see if the framework contains an assembly that uses the specified name

Definition

Namespace: Sandcastle.Core.Reflection
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.2.18.0
public bool ContainsAssembly(
	string assemblyName
)

Parameters

assemblyName  String
The assembly name without a path or extension or a strong name value. If a strong name value is specified, a "starts with" comparison on the description is used to see if the assembly is present in the framework. This allows for matches on strong names with processor architecture specified which we don't have. If only a name is given, just the name is compared. Comparisons are case-insensitive.

Return Value

Boolean
True if the framework contains the named assembly, false if not.

See Also