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); }
public abstract IEnumerable <string> Load(RTEmail rtEmail);
public override IEnumerable <string> Load(RTEmail rtEmail) { return(RTActiveDirectory.AllEmailAddresses); }
public override IEnumerable <string> Load(RTEmail rtEmail) { return(RTActiveDirectory.ITPersonNames); }