/// <summary> /// Retrieves the single instance of the BenchStock, creating a new one if one /// does not already exist. /// </summary> /// <returns></returns> public static BenchStock GetBenchStockInstance() { if (instance == null) { instance = new BenchStock(); } return(instance); }
/// <summary> /// Standard Constructor for the Facade BrewersBenchSystem. /// </summary> private BrewersBenchSystem() { benchStock = BenchStock.GetBenchStockInstance(); benchBrewing = BenchBrewing.GetBenchBrewingInstance(); // need to init benchBrewing as Singleton }