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