Classes/Public/TMCPsHost.ps1

$TMCPSHostPath = Join-Path -Path $PSScriptRoot -ChildPath 'TMCPSHost.cs'
$TMCPSHost = Get-Content -Raw -Path $TMCPSHostPath

Add-Type -TypeDefinition $TMCPSHost -Language CSharp