Beispiel #1
0
 public static EmbeddedTipsProvider Instance()
 {
     if (_instance == null)
     {
         _instance = new EmbeddedTipsProvider();
     }
     return(_instance);
 }
Beispiel #2
0
        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);
        }