Click or drag to resize
AssemblyDiscoveryGetAssemblies Method
Returns an enumerable collection of application assemblies.

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 8.2.23
Syntax
C#
public IEnumerable<Assembly> GetAssemblies()

Return Value

Type: IEnumerableAssembly
An enumerable collection of application assemblies.
Remarks
The discovery process looks for assemblies in the directories that the assembly resolver probes. By default, all the application assemblies are returned, but there are exceptions.
  1. If the OnlyDiscoverable property is set to true, assemblies without the AssemblyDiscoverableAttribute attribute are excluded from discovery.
  2. If there is a file with the "exclude" extension, for example MyCustomAssembly.dll.exclude, the MyCustomAssembly.dll is excluded from discovery.
  3. Assemblies from the GAC are always excluded from discovery.
See Also