コード例 #1
0
        public GMacMacroExplorerBinding Add(GMacMacroExplorerBinding binding)
        {
            if (binding == null)
            {
                return(null);
            }

            this[binding.ValueAccessName] = binding;

            return(binding);
        }
コード例 #2
0
        public GMacMacroExplorerBinding AddFromText(string bindingText)
        {
            var binding = GMacMacroExplorerBinding.Parse(bindingText);

            if (binding == null)
            {
                return(null);
            }

            this[binding.ValueAccessName] = binding;

            return(binding);
        }