Example #1
0
        public void SetFrame(CorFrame frame, DnProcess process)
        {
            this.frame   = frame;
            this.process = process;

            if (cachedOutput == null || !HasPropertyChangedHandlers)
            {
                cachedOutput = null;
                OnPropertyChanged("NameObject");
            }
            else
            {
                var newCachedOutput = CachedOutput.Create(frame, Context.TypePrinterFlags);
                if (newCachedOutput.Equals(cachedOutput.Value))
                {
                    return;
                }

                cachedOutput = newCachedOutput;
                OnPropertyChanged("NameObject");
            }
        }
Example #2
0
 public MessageCallStackFrameVM(ICallStackFrameContext context, int index, string name)
 {
     this.context      = context;
     this.index        = index;
     this.cachedOutput = CachedOutput.Create(name, TypeColor.Error);
 }