public static EmbeddedTipsProvider Instance() { if (_instance == null) { _instance = new EmbeddedTipsProvider(); } return(_instance); }
private IEnumerable <ITipGroupProvider> GetTipGroupProviders() { List <ITipGroupProvider> tipGroupProviders = new List <ITipGroupProvider>(); // Add the Embedded Tips Provider tipGroupProviders.Add(EmbeddedTipsProvider.Instance()); // In future: Add other tip providers return(tipGroupProviders); }