public HER2AmplificationByISHResult GetResultFromIndication(HER2AmplificationByISHTestOrder testOrder) { HER2AmplificationByISHResult result = null; if (testOrder.Indicator == HER2AmplificationByISHIndicatorCollection.BreastIndication) result = new HER2AmplificationByISHBreastResult(); else if (testOrder.Indicator == HER2AmplificationByISHIndicatorCollection.GastricIndication) result = new HER2AmplificationByISHGastricAdenocarcinomaResult(); return result; }
public HER2AmplificationByISHResult GetResultFromIndication(HER2AmplificationByISHTestOrder testOrder) { HER2AmplificationByISHResult result = null; if (testOrder.Indicator == HER2AmplificationByISHIndicatorCollection.BreastIndication) { result = new HER2AmplificationByISHBreastResult(); } else if (testOrder.Indicator == HER2AmplificationByISHIndicatorCollection.GastricIndication) { result = new HER2AmplificationByISHGastricAdenocarcinomaResult(); } return(result); }