コード例 #1
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);
        }
コード例 #2
0
		// Initialisation:
        protected TraceListenerUploadableBase(UploadableLogSettings2 uploadSettings, TraceStatus traceStatus)
            : base(traceStatus.FileName)
		{
			mTraceStatus = traceStatus;
			mUploadSettings = uploadSettings;
		}
コード例 #3
0
		// Initialisation:
        protected TraceListenerUploadableBase(UploadableLogSettings2 UploadSettings, TraceStatus TraceStatus)
            : base(TraceStatus.FileName)
		{
			mTraceStatus = TraceStatus;
			mUploadSettings = UploadSettings;
		}