/// <summary> /// Static method which creates the instance /// </summary> /// <returns></returns> public static ConversionData GetConversionData() { if(conversionData == null) { conversionData = new ConversionData(); } return conversionData; }
/// <summary> /// Constructor which initializes the local variable used for ConversionData /// </summary> /// <param name="conversionData"></param> public ConversionParser(ConversionData conversionData) { this.conversionData = conversionData; }