private void HandleParseComplete(object sender, ParseResultEventArgs e)
        {
            var diffResult = e as DiffParseResultEventArgs;

            if (diffResult == null)
            {
                return;
            }

            CheckBeginInvokeOnUi(() => OnHunksChanged(diffResult.Diff));
        }
Exemple #2
0
        protected virtual void OnParseComplete(ParseResultEventArgs e)
        {
            if (e == null)
            {
                throw new ArgumentNullException("e");
            }

            var t = ParseComplete;

            if (t != null)
            {
                t(this, e);
            }
        }