public void Accept(IDebugValueVisitor visitor) { visitor.ShowProperties(this); if (_isCollection) { visitor.ShowCollectionItems(this); } }
void IDebugPresentationAcceptor.Accept(IDebugValueVisitor visitor) { var propVariables = this.GetProperties() .Where(x => x.Identifier != "ЭтотОбъект") .Select(x => Variable.Create(GetPropValue(x.Index), x.Identifier)); visitor.ShowCustom(propVariables.ToList()); }
void IDebugPresentationAcceptor.Accept(IDebugValueVisitor visitor) { visitor.ShowProperties(this); }