Exemple #1
0
 public TranscodeAndOverlayArguments(Action <long, long> progressReporter, Func <bool> isAborted)
 {
     //Constructed in main/host AppDomain
     this._progressReporter = progressReporter;
     this._isAborted        = isAborted;
     this.logRepeater       = new LogRepeater();
 }
Exemple #2
0
 public SubDomainLogListener(LogRepeater logRepeater)
 {
     this.logRepeater = logRepeater;
 }
Exemple #3
0
        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);
        }