TicketImporter.WorkItemState.gatherNextStates C# (CSharp) Method

gatherNextStates() private method

private gatherNextStates ( ) : void
return void
        private void gatherNextStates()
        {
            NextStates = new List<string> {initialState};
            var Transitions =
                witd.SelectNodes(string.Format("descendant::TRANSITIONS/TRANSITION[@from='{0}']", initialState));
            foreach (XmlNode transition in Transitions)
            {
                NextStates.Add(transition.Attributes.GetNamedItem("to").Value);
            }
        }