Пример #1
0
            public void Add(EProgressPhase phase)
            {
                var dict   = _transcode ? __phaseWeightsTranscode : __phaseWeights;
                int weight = 0;

                dict.TryGetValue(phase, out weight);
                _weightedPhases.Add((phase, weight));
            }
Пример #2
0
        public static ProgressInfo ProgressInfoBook(string title, EProgressPhase phase)
        {
            var info = new ProgressInfo(title)
            {
                Phase = phase
            };

            return(info);
        }