Catel.Fody.CecilCatelExtensions.ImplementsCatelModel C# (CSharp) Method

ImplementsCatelModel() public static method

public static ImplementsCatelModel ( this typeReference ) : bool
typeReference this
return bool
        public static bool ImplementsCatelModel(this TypeReference typeReference)
        {
            if (typeReference == null)
            {
                return false;
            }

            if (ImplementsModelBase(typeReference))
            {
                return true;
            }

            if (ImplementsDataObjectBase(typeReference))
            {
                return true;
            }

            return false;
        }