-
-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aaa8294
commit c626045
Showing
2 changed files
with
32 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
public class OnHandlers | ||
{ | ||
#region OnHandlers | ||
|
||
public static class ModuleInitializer | ||
{ | ||
[ModuleInitializer] | ||
public static void Init() | ||
{ | ||
VerifierSettings.OnVerify( | ||
before: () => Debug.WriteLine("before"), | ||
after: () => Debug.WriteLine("after")); | ||
VerifierSettings.OnFirstVerify( | ||
(receivedFile, receivedText) => | ||
{ | ||
Debug.WriteLine(receivedFile); | ||
Debug.WriteLine(receivedText); | ||
return Task.CompletedTask; | ||
}); | ||
VerifierSettings.OnVerifyMismatch( | ||
(filePair, message) => | ||
{ | ||
Debug.WriteLine(filePair.ReceivedPath); | ||
Debug.WriteLine(filePair.VerifiedPath); | ||
Debug.WriteLine(message); | ||
return Task.CompletedTask; | ||
}); | ||
} | ||
} | ||
|
||
#endregion | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters