Example #1
0
 public static int WritePactFile(PortHandle port, string pactFilePath)
 {
     fixed(byte *path = CStyleStringFromSystemString(pactFilePath))
     {
         return(WritePactFileImpl(port, path));
     }
 }
Example #2
0
        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));
        }
Example #3
0
 private static extern byte *MockServerMismatchesImpl(PortHandle port);
Example #4
0
 public static extern int MockServerMatched(PortHandle port);
Example #5
0
 private static extern int WritePactFileImpl(PortHandle port, byte *pactFilePath);