1234567891011121314151617181920212223 |
- /* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
- using System;
- namespace QuranCalc
- {
- public class Traceback
- {
- private static string m_traceback = string.Empty;
- public static void Write(string s)
- {
- m_traceback += s;
- if (!s.EndsWith ("\r") && !s.EndsWith ("\n"))
- m_traceback += Environment.NewLine;
- }
- public static string Read()
- {
- return m_traceback;
- }
- }
- }
|