public string emitNewFact(FactResource resource, bool withPreface)
        {
            Random r = new Random();

            if (withPreface)
            {
                return(resource.GetFactMessage + resource.Facts[r.Next(resource.Facts.Count)]);
            }
            return(resource.Facts[r.Next(resource.Facts.Count)]);
        }
        public List <FactResource> GetResources()
        {
            List <FactResource> resources    = new List <FactResource>();
            FactResource        enINResource = new FactResource("en-IN");

            enINResource.SkillName      = "Switchboard";
            enINResource.GetFactMessage = "Here's the status of the room's devices";
            enINResource.HelpMessage    = "You can say ask Controller to turn on the bulb in the Living Room, or, you can say exit... What can I help you with?";
            enINResource.HelpReprompt   = String.Empty;
            enINResource.StopMessage    = String.Empty;
            enINResource.Facts.Add("Please speak your desired operation clearly.");
            enINResource.Facts.Add("Kuchh samajh nahi aayaa. Dobaaraa bolo.");
            enINResource.Facts.Add("Sorry, I could not clearly understand the last command. Could you please repeat that?");
            enINResource.Facts.Add("Clearly bolo naa kya karnaa hai!");
            resources.Add(enINResource);
            return(resources);
        }