public DrawPixelHistoryEventViewModel(DrawEvent @event)
 {
     _parts = new List<DrawPixelHistoryEventPartViewModel>
     {
         new InputAssemblerDrawPixelHistoryEventPartViewModel(@event),
         new VertexShaderDrawPixelHistoryEventPartViewModel(@event),
         new OutputMergerDrawPixelHistoryEventPartViewModel(@event)
     };
     _event = @event;
 }
 public static PixelResultViewModel Create(DrawEvent @event)
 {
     switch (@event.ExclusionReason)
     {
         case PixelExclusionReason.NotExcluded:
             return new ColorResultViewModel(@event.Result.Value);
         default:
             return new ExcludedPixelResultViewModel(@event);
     }
 }
 public InputAssemblerDrawPixelHistoryEventPartViewModel(DrawEvent @event)
 {
     _event = @event;
 }
 public VertexShaderDrawPixelHistoryEventPartViewModel(DrawEvent @event)
 {
     _event = @event;
 }
 public ExcludedPixelResultViewModel(DrawEvent @event)
 {
     _event = @event;
 }
 public OutputMergerDrawPixelHistoryEventPartViewModel(DrawEvent @event)
 {
     _event = @event;
 }