public override IEnumerable <string> Load(RTEmail rtEmail)
        {
            List <string> output = new List <string>();

            output.AddRange(RTFileLoader.GetFileContents("Queues.txt"));
            return(output);
        }
        public override IEnumerable <string> Load(RTEmail rtEmail)
        {
            List <string> output = new List <string>();

            if (rtEmail.Activity == "Miscellaneous Admin")
            {
                output.AddRange(new string[] {
                    "Leave (VA, SL, PB, etc)",
                    "Other"
                });
            }
            else if (rtEmail.Activity == "Service Enhancements")
            {
                output.AddRange(RTFileLoader.GetFileContents("ServiceEnhancements.txt"));
            }
            else if (rtEmail.Activity == "Enterprise Projects")
            {
                output.AddRange(RTFileLoader.GetFileContents("EnterpriseProjects.txt"));
            }
            else if (rtEmail.Activity == "IT Projects")
            {
                output.AddRange(RTFileLoader.GetFileContents("ITProjects.txt"));
            }
            else
            {
                output.Add("");
            }
            return(output);
        }
        public override IEnumerable <string> Load(RTEmail rtEmail)
        {
            List <string> output = new List <string>();

            if (rtEmail.TicketType == "Change")
            {
                output.AddRange(new string[] { "Standard", "Normal", "Emergency" });
            }
            else
            {
                output.Add("");
            }
            return(output);
        }
Esempio n. 4
0
 public abstract IEnumerable <string> Load(RTEmail rtEmail);
Esempio n. 5
0
 public override IEnumerable <string> Load(RTEmail rtEmail)
 {
     return(RTActiveDirectory.AllEmailAddresses);
 }
 public override IEnumerable <string> Load(RTEmail rtEmail)
 {
     return(RTActiveDirectory.ITPersonNames);
 }