Skip to content

Pact Logging LoggingExtensions GetDifference(System Collections Generic Dictionary string object System Collections Generic Dictionary string object )

welshronaldo edited this page May 30, 2022 · 6 revisions

LoggingExtensions.GetDifference(Dictionary<string,object>, Dictionary<string,object>) Method

Retrieves a dictionary of all properties between the two dictionaries and, where values differ, introduces a prefixed key for the original value

public static System.Collections.Generic.Dictionary<string,object> GetDifference(this System.Collections.Generic.Dictionary<string,object> amendedProps, System.Collections.Generic.Dictionary<string,object> originalProps);

Parameters

amendedProps System.Collections.Generic.Dictionary<System.String,System.Object>

originalProps System.Collections.Generic.Dictionary<System.String,System.Object>

Returns

System.Collections.Generic.Dictionary<System.String,System.Object>

Clone this wiki locally