Method IsAssemblyReferencedFrom
IsAssemblyReferencedFrom(Assembly, Assembly)
Gets whether referenceContainer
assembly references
possibleReference
assembly.
public static bool IsAssemblyReferencedFrom(Assembly referenceContainer, Assembly possibleReference)
Parameters
referenceContainer
AssemblyThe Assembly which possibly contains the reference.
possibleReference
AssemblyThe assembly which is possibly referenced.
Returns
IsAssemblyReferencedFrom(Assembly, IEnumerable<Assembly>)
Gets whether referenceContainer
assembly references
any assembly fromn the possibleReference
collection.
public static bool IsAssemblyReferencedFrom(Assembly referenceContainer, IEnumerable<Assembly> possibleReference)
Parameters
referenceContainer
AssemblyThe Assembly which possibly contains the reference.
possibleReference
IEnumerable<Assembly>Collection of the assemblies which are possibly referenced.