VerifierExtensions.WithReferencedAssembly Method
WithReferencedAssembly(ITypeSetVerifier<ICompilation>, String)
Represents a fluent Metalama.Extensions.Architecture.Fabrics.TypeSetVerifier`1 that allows to validate code using a given assembly referenced by the current compilation. This method can only be used in a ProjectFabric.
Declaration
public static ITypeSetVerifier<IAssembly> WithReferencedAssembly(this ITypeSetVerifier<ICompilation> setVerifier, string assemblyName)
Parameters
Type | Name | Description |
---|---|---|
ITypeSetVerifier<ICompilation> | setVerifier | The Metalama.Extensions.Architecture.Fabrics.TypeSetVerifier`1 returned by Verify(IProjectAmender). |
String | assemblyName | The name of the assembly, without version and public key. |
Returns
Type | Description |
---|---|
ITypeSetVerifier<IAssembly> |