|
DiffMatchPatchPatchMake(String, String, ListDiff) Method
|
Note: This API is now obsolete.
Compute a list of patches to turn text1 into text2.
text2 is ignored, diffs are the delta between text1 and text2.
Namespace: GSF.TextAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
Syntax[ObsoleteAttribute("Prefer PatchMake(string text1, List<Diff> diffs).")]
public List<Patch> PatchMake(
string text1,
string text2,
List<Diff> diffs
)
<ObsoleteAttribute("Prefer PatchMake(string text1, List<Diff> diffs).")>
Public Function PatchMake (
text1 As String,
text2 As String,
diffs As List(Of Diff)
) As List(Of Patch)
public:
[ObsoleteAttribute(L"Prefer PatchMake(string text1, List<Diff> diffs).")]
List<Patch^>^ PatchMake(
String^ text1,
String^ text2,
List<Diff^>^ diffs
)
[<ObsoleteAttribute("Prefer PatchMake(string text1, List<Diff> diffs).")>]
member PatchMake :
text1 : string *
text2 : string *
diffs : List<Diff> -> List<Patch>
function PatchMake(text1, text2, diffs);
View SourceParameters
- text1 String
- Old text
- text2 String
- Ignored
- diffs ListDiff
- Array of Diff objects for text1 to text2
Return Value
ListPatchList of Patch objects
See Also