Beispiel #1
0
        public bool RespondsToSelector(SEL aSelector)
        {
            bool ret = false;
            string methodName = (string)aSelector.SelectorName;
            MethodInfo dynMethod = this.GetType().GetMethod(methodName, BindingFlags.Public | BindingFlags.Instance);
            if (dynMethod != null)
            {
                ret = true;
            }

            return ret;
        }
Beispiel #2
0
 public id PerformSelector(SEL aSelector)
 {
     return null;
 }
Beispiel #3
0
 public id PerformSelector(SEL aSelector, id anObject)
 {
     return null;
 }
Beispiel #4
0
 public static NSString StringFromSelector(SEL sel)
 {
     return sel._selectorName;
 }