public TranscodeAndOverlayArguments(Action <long, long> progressReporter, Func <bool> isAborted) { //Constructed in main/host AppDomain this._progressReporter = progressReporter; this._isAborted = isAborted; this.logRepeater = new LogRepeater(); }
public SubDomainLogListener(LogRepeater logRepeater) { this.logRepeater = logRepeater; }
public TranscodeAndOverlayArguments(string gameDataFile, int videoBitRate, string destFile, bool highlights, Action <long, long> progressReporter, Func <bool> isAborted, LogRepeater logRepeater, string pluginName) { //Constructed in subdomain Program.MakePortable(Settings.Default); this.gameDataFile = gameDataFile; this.videoBitRate = videoBitRate; this.destFile = destFile; this.highlights = highlights; this._progressReporter = progressReporter; this._isAborted = isAborted; this.pluginName = pluginName; var logger = new SubDomainLogListener(logRepeater); Trace.Listeners.Add(logger); }