Fan.Sys.UnknownSlotErr.make C# (CSharp) Méthode

make() public static méthode

public static make ( ) : UnknownSlotErr
Résultat UnknownSlotErr
        public static new UnknownSlotErr make()
        {
            return make("", (Err)null);
        }

Same methods

UnknownSlotErr::make ( string msg ) : UnknownSlotErr
UnknownSlotErr::make ( string msg, Err cause ) : UnknownSlotErr

Usage Example

Exemple #1
0
        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);
        }