Esempio n. 1
0
        /// <summary>
        /// Add all input variables to the target code block
        /// </summary>
        private void AddInputVariables()
        {
            foreach (var item in _dataTable.Inputs)
            {
                CodeBlock.AddInputVariable(
                    new GMacCbInputVariable(
                        item.ItemName,
                        item.ItemId,
                        item.AssociatedValueAccess
                        )
                    );

                if (string.Compare(item.ItemName, _lastUsedVarName, StringComparison.Ordinal) > 0)
                {
                    _lastUsedVarName = item.ItemName;
                }
            }
        }