/// <summary> /// returns a list of the members of the set based on its name parameter /// </summary> /// <param name="value"></param> /// <returns>the name of the set to be retrieved</returns> public string[] GetListOfSetContent(string value) { var setContent = ExtraSets.Where(x => x.Key == value) .Select(x => x.Value) .First(); return(setContent); }
/// <summary> /// Gets the collection of fields belonging to incoming set's name parameter, /// and sends this to the view through an Event. /// </summary> /// <param name="value"></param> private void GetSetContent(string value) { var setContent = ExtraSets.Where(x => x.Key == value) .Select(x => x.Value) .First(); Ea.Publish(new DisplaySetContentEventModel() { Data = setContent }); }