コード例 #1
0
ファイル: MyTrace.cs プロジェクト: svn2github/autowikibrowser
 public XhtmlTraceListener(string FileName, LoggingSettings LS)
     : base(FileName, LS.Settings.LogVerbose)
 {
     mTraceStatus = new TraceStatus(LS.XHTMLLinesLabel, null, null, false, FileName, conXhtml);
 }
コード例 #2
0
		// Initialisation:
        protected TraceListenerUploadableBase(UploadableLogSettings2 uploadSettings, TraceStatus traceStatus)
            : base(traceStatus.FileName)
		{
			mTraceStatus = traceStatus;
			mUploadSettings = uploadSettings;
		}
コード例 #3
0
ファイル: TraceListeners.cs プロジェクト: svick/AWB
            new System.Globalization.CultureInfo("en-US", false); // override user's culture when writing to English Wikipedia; applied only as a formatter so won't affect localisation/UI

        #endregion Fields

        #region Constructors

        public WikiTraceListener(UploadableLogSettings2 uploadSettings, TraceStatus traceStatus)
            : base(uploadSettings, traceStatus)
        {
            WriteBulletedLine("Logging: WikiFunctions.dll v" + Tools.VersionString, false, false);
        }
コード例 #4
0
ファイル: MyTrace.cs プロジェクト: svn2github/autowikibrowser
 public XhtmlTraceListener(string fileName, LoggingSettings ls)
     : base(fileName, ls.Settings.LogVerbose)
 {
     mTraceStatus = new TraceStatus(ls.XHTMLLinesLabel, null, null, false, fileName, ConXhtml);
 }
コード例 #5
0
		// Initialisation:
        protected TraceListenerUploadableBase(UploadableLogSettings2 UploadSettings, TraceStatus TraceStatus)
            : base(TraceStatus.FileName)
		{
			mTraceStatus = TraceStatus;
			mUploadSettings = UploadSettings;
		}