Monobjc.Tools.Generator.Model.ClassEntity.HasMethod C# (CSharp) Method

HasMethod() public method

Determines whether the specified instance has method.
public HasMethod ( String name, bool isStatic ) : bool
name String The name.
isStatic bool if set to true [is static].
return bool
        public bool HasMethod(String name, bool isStatic)
        {
            MethodEntity entity = this.Methods.SingleOrDefault (m => m.Name.Equals (name) && m.Static == isStatic);
            return (entity != null);
        }