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