public bool GetMethod(out EA.Method method)
        {
            method = null;
            int methodId;

            if (GetEAObjectId(MethodID, out methodId))
            {
                method = repository.GetMethodByID(methodId);
                return(method != null);
            }
            return(false);
        }