public static int WritePactFile(PortHandle port, string pactFilePath) { fixed(byte *path = CStyleStringFromSystemString(pactFilePath)) { return(WritePactFileImpl(port, path)); } }
public static string MockServerMismatches(PortHandle port) { var result = MockServerMismatchesImpl(port); if (result == null) { throw new ArgumentException($"{nameof(MockServerMismatches)} failed on invalid port handle"); } return(SystemStringFromCStyleString(result)); }
private static extern byte *MockServerMismatchesImpl(PortHandle port);
public static extern int MockServerMatched(PortHandle port);
private static extern int WritePactFileImpl(PortHandle port, byte *pactFilePath);