Beispiel #1
0
        public bool TryGetValue(string Usage, int UsageIndex, out VertexValue val)
        {
            foreach (var value in Values)
                if (value.Usage == Usage && value.UsageIndex == UsageIndex)
                {
                    val = value;
                    return true;
                }

            val = new VertexValue(new Vector(), 0, Usage, UsageIndex);
            return false;
        }
Beispiel #2
0
        public bool TryGetValue(string Usage, int UsageIndex, out VertexValue val)
        {
            foreach (var value in Values)
            {
                if (value.Usage == Usage && value.UsageIndex == UsageIndex)
                {
                    val = value;
                    return(true);
                }
            }

            val = new VertexValue(new Vector(), 0, Usage, UsageIndex);
            return(false);
        }