Public/DotNet/New-AssemblyResolver.ps1
function New-AssemblyResolver { [CmdletBinding()] [CmdLetTag(("#dotnet","#dotnetcore","#monocecil"))] param( [parameter(ValueFromPipeline)] [string]$Path, [System.IO.FileInfo[]]$AssemblyList ) . "$(Get-XpandPwshDirectoryName)\Private\AssemblyResolver.ps1" if ($AssemblyList){ [AssemblyResolver]::new($AssemblyList) } else{ [AssemblyResolver]::new($Path) } } |