Fan.Sys.Type.reflect C# (CSharp) Method

reflect() public method

public reflect ( ) : Type
return Type
        public virtual Type reflect()
        {
            return this;
        }

Usage Example

Ejemplo n.º 1
0
        /// <summary>
        /// Merge the inherit's slots into my slot maps.
        ///   slots:       Slot[] by order
        ///   nameToSlot:  String name -> Slot
        ///   nameToIndex: String name -> Long index of slots
        /// </summary>
        private void merge(Type inheritedType, List slots, Hashtable nameToSlot, Hashtable nameToIndex)
        {
            if (inheritedType == null)
            {
                return;
            }
            List inheritedSlots = inheritedType.reflect().slots();

            for (int i = 0; i < inheritedSlots.sz(); ++i)
            {
                merge((Slot)inheritedSlots.get(i), slots, nameToSlot, nameToIndex);
            }
        }
All Usage Examples Of Fan.Sys.Type::reflect