Exemplo n.º 1
0
        public EngageController()
        {
            //TODO: you should move the setting of the static EngageProvider.Settings to your global.asax or other setup code
            if (EngageProvider.Settings == null)
            {
                EngageProvider.ApplicationDomain = "your-site-name.rpxnow.com"; //TODO: set your site's Application Domain
                EngageProvider.Settings = new EngageNetSettings("YOUR_API_KEY"); //TODO: set your API key
            }

            _engage = EngageProvider.Build();
        }
Exemplo n.º 2
0
 public EngageController(IEngageNet engage)
 {
     _engage = engage;
 }