public static SosController execute(this SosController sosController, string commandToExecute) { string response = null; sosController.execute(commandToExecute, ref response); return(sosController); }
public static SosController loadSoS(this SosController sosController, bool clr2, bool x64) { var sosFile = (clr2) ? (x64) ? @"C:\Windows\Microsoft.NET\Framework64\v2.0.50727\sos.dll" : @"C:\Windows\Microsoft.NET\Framework\v2.0.50727\sos.dll" : (x64) ? @"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\sos.dll" : @"C:\Windows\Microsoft.NET\Framework\v4.0.30319\sos.dll"; return(sosController.execute(".load " + sosFile)); }