public void Add(EProgressPhase phase) { var dict = _transcode ? __phaseWeightsTranscode : __phaseWeights; int weight = 0; dict.TryGetValue(phase, out weight); _weightedPhases.Add((phase, weight)); }
public static ProgressInfo ProgressInfoBook(string title, EProgressPhase phase) { var info = new ProgressInfo(title) { Phase = phase }; return(info); }