コード例 #1
0
        public static void AddValue(string agentFullname, string valueName, int frame, string value)
        {
            Debug.Check(!string.IsNullOrEmpty(agentFullname) &&
                        !string.IsNullOrEmpty(valueName) &&
                        frame > -1);

            if (!_agentDatabase.ContainsKey(agentFullname))
            {
                _agentDatabase[agentFullname] = new AgentData();
            }

            AgentData agentData = _agentDatabase[agentFullname];

            agentData.AddValue(valueName, frame, value);
        }