TrakHound_Dashboard.Pages.DeviceManager.Pages.Parts.Controls.PartCountEventItem.GetPreviousGeneratedEventValues C# (CSharp) Method

GetPreviousGeneratedEventValues() private method

private GetPreviousGeneratedEventValues ( string Id ) : void
Id string
return void
        private void GetPreviousGeneratedEventValues(string Id)
        {
            PreviousGeneratedEventValues.Clear();

            if (GeneratedEventValues != null)
            {
                PreviousGeneratedEventValues.Add(string.Empty);

                foreach (var gEventValue in GeneratedEventValues)
                {
                    if ((string)gEventValue != EventValue) PreviousGeneratedEventValues.Add(gEventValue);
                }
            }
        }