Exemplo n.º 1
0
        public static object Get3d(IDictionary <Tuple <Guid, DateTime, string>, DataRecord> dict, DateTime date, string objectId, string parameter, string property)
        {
            var id  = System.Guid.Parse(objectId);
            var key = new Tuple <Guid, DateTime, string>(id, date, parameter);

            if (dict == null || !dict.ContainsKey(key))
            {
                return(null);
            }
            DataRecord value = dict[key];
            object     ret   = value.GetProperty(property);

            if (ret != null)
            {
                return(ret);
            }
            return("");
        }