protected BaseInspectView GetInspectViewForType(InstructionType type)
{
switch (type)
{
case InstructionType.kStyleDraw:
return this.m_InstructionStyleView;
case InstructionType.kClipPush:
case InstructionType.kClipPop:
return this.m_InstructionClipView;
case InstructionType.kLayoutBeginGroup:
case InstructionType.kLayoutEndGroup:
case InstructionType.kLayoutEntry:
return this.m_InstructionLayoutView;
}
throw new NotImplementedException("Unhandled InstructionType");
}