17 references to EventKind
Microsoft.ML.Core (17)
Data\ProgressReporter.cs (12)
95_tracker.Log(this, ProgressEvent.EventKind.Progress, entry); 100_tracker.Log(this, ProgressEvent.EventKind.Start, null); 105_tracker.Log(this, ProgressEvent.EventKind.Stop, null); 374public void Log(ProgressChannel source, ProgressEvent.EventKind kind, ProgressEntry entry) 379if (kind == ProgressEvent.EventKind.Start) 395_pendingEvents.Enqueue(new ProgressEvent(newInfo.Index, newInfo.Name, newInfo.StartTime, ProgressEvent.EventKind.Start)); 410case ProgressEvent.EventKind.Stop: 413_pendingEvents.Enqueue(new ProgressEvent(info.Index, info.Name, info.StartTime, ProgressEvent.EventKind.Stop)); 417_ectx.Assert(kind == ProgressEvent.EventKind.Progress); 583public readonly EventKind Kind; 596Kind = EventKind.Progress; 600public ProgressEvent(int index, string name, DateTime startTime, EventKind kind)
Environment\ConsoleEnvironment.cs (5)
190x => x.Kind != ProgressReporting.ProgressEvent.EventKind.Progress || x.ProgressEntry.IsCheckpoint); 205case ProgressReporting.ProgressEvent.EventKind.Start: 208case ProgressReporting.ProgressEvent.EventKind.Stop: 211case ProgressReporting.ProgressEvent.EventKind.Progress: 230Contracts.Assert(ev.Kind == ProgressReporting.ProgressEvent.EventKind.Progress);