Method UnregisterAssembly
UnregisterAssembly(Assembly, bool)
Removes specified assembly from the repository's assembly list.
public virtual bool UnregisterAssembly(Assembly assembly, bool removeReferences)
Parameters
assemblyAssemblySpecifies assembly to remove.
removeReferencesboolIndicates whether all types from the specified assembly should be unregistered.
Returns
- bool
True if succeed (assembly is present in the assembly list); otherwise false.
UnregisterAssembly(string, bool)
Removes specified assembly from the repository's assembly list.
public virtual bool UnregisterAssembly(string name, bool removeReferences)
Parameters
namestringSpecifies name of assembly to remove.
removeReferencesboolIndicates whether all types from the specified assembly should be unregistered.
Returns
- bool
True if succeed (assembly is present in the assembly list); otherwise false.