BuildMaster SDK Reference
Version:

FindDifferences(string text1, string text2) Method

Returns a collection of all of the differences between two strings.

Syntax

public static ReadOnlyCollection<Inedo.BuildMaster.Files.TextDifference> FindDifferences(string text1, string text2)

Parameters

text1
Type: string

The first string.

text2
Type: string

The second string.

Returns

Collection of all of the differences between the supplied strings.

Exceptions

System.ArgumentNullException

text1 is null (Nothing in Visual Basic) or text2 is null (Nothing in Visual Basic).