internal SpeechJournalAwaiter(Cancellation cancellation, SpeechJournalSource journalSource = null, SpeechJournal journal = null, Func <TimeSpan?> defaultTimeout = null, DiagnosticTrace trace = null) { this.cancellation = cancellation; this.journalSource = journalSource; this.journal = journal; this.defaultTimeout = defaultTimeout; this.trace = trace; }
internal SpeechJournal(SpeechJournalSource source, Cancellation cancellation = null, Func <TimeSpan?> defaultTimeout = null, DiagnosticTrace trace = null) { this.source = source; this.cancellation = cancellation; this.defaultTimeout = defaultTimeout; this.trace = trace; journalEntryStartId = source.CurrentJournalEntryId; LastWaitEntryId = journalEntryStartId; }
internal SpeechJournalSource(DiagnosticTrace trace = null) { lastActionJournalEntryId = new ThreadLocal <long>(false); this.trace = trace; }
internal GlobalTrace(ILogger baseLogger) { logger = new ScriptTraceLogger(baseLogger); JournalTrace = new DiagnosticTrace(baseLogger); }
internal GlobalTrace(IConsole baseConsole) { logger = new ScriptTraceLogger(baseConsole); JournalTrace = new DiagnosticTrace(baseConsole); }