Exemplo n.º 1
0
        /// <summary>
        /// Try get slot by name. If failed, return -1;
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        public int TryGetBindSlot(string name)
        {
            int item;

            return(mappingCollection.TryGetSlot(name, out item) ? item : -1);
        }