public override bool CanRun(KScriptObject obj)
        {
            if (obj == null)
            {
                return(false);
            }

            return(typeof(KScriptConditional).IsAssignableFrom(obj.GetType()));
        }
예제 #2
0
 public override bool CanRun(KScriptObject obj)
 {
     return(typeof(KScriptObjectLoop).IsAssignableFrom(obj.GetType()));
 }
 public override bool CanRun(KScriptObject obj)
 {
     return(typeof(KScriptExceptionWrapper).IsAssignableFrom(obj.GetType()));
 }
예제 #4
0
 public override bool IsAcceptedObject(KScriptObject obj) => obj.GetType().IsAssignableFrom(typeof(menu));