Beispiel #1
0
        public void AddElement(string inputName, Format format, int slot)
        {
            int index = 0;

            InputElements.ForEach(element => {
                if (element.SemanticName.Equals(inputName))
                {
                    index++;
                }
            });
            var el = new InputElement(inputName, index, format, slot);

            InputElements.Add(el);
            HashCode ^= el.GetHashCode();
        }