예제 #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;
        }
예제 #2
0
 public id PerformSelector(SEL aSelector)
 {
     return null;
 }
예제 #3
0
 public id PerformSelector(SEL aSelector, id anObject)
 {
     return null;
 }
예제 #4
0
 public static NSString StringFromSelector(SEL sel)
 {
     return sel._selectorName;
 }