Fan.Sys.GenericType.slot C# (CSharp) Method

slot() public final method

public final slot ( string name, bool check ) : Slot
name string
check bool
return Slot
        public override sealed Slot slot(string name, bool check)
        {
            Slot slot = (Slot)((GenericType)reflect()).m_slotsByName[name];
              if (slot != null) return slot;
              if (check) throw UnknownSlotErr.make(this.qname() + "." + name).val;
              return null;
        }