public static VendorCache GetInstance() { if (instance == null) { instance = new VendorCache(); } return(instance); }
public void Clear() { if (Vendors != null) { Vendors.Clear(); } instance = null; }