コード例 #1
0
 new public string ToString()
 {
     return(String.Format("\nLeftPath: {0}\nRightPath: {1}\nLeftLine: {2}\nRightLine: {3}\nRefs: {4}",
                          (LeftPath?.ToString() ?? "null"),
                          (RightPath?.ToString() ?? "null"),
                          (LeftLine?.ToString() ?? "null"),
                          (RightLine?.ToString() ?? "null"),
                          Refs.ToString()));
 }
コード例 #2
0
 private void trace(string action, bool isLeftSide, DiffRefs refs,
                    string sourceCurrentName, string sourceOppositeName, string fixedOppositeName)
 {
     Trace.TraceInformation(String.Format(
                                "[FileNameMatcher] {0}. Repo: {1}. DiffRefs: {2}\n"
                                + "sourceCurrentName: {3}\nsourceOppositeName: {4}\nfixedOppositeName: {5}\nIsLeftSide: {6}",
                                action, _git.ToString(), refs.ToString(),
                                sourceCurrentName, sourceOppositeName, fixedOppositeName, isLeftSide));
 }