ModelBuilder.TypeCreatorBase.CanCreate C# (CSharp) Method

CanCreate() public method

The parameter is null.
public CanCreate ( Type type, string referenceName, LinkedList buildChain ) : bool
type System.Type
referenceName string
buildChain LinkedList
return bool
        public virtual bool CanCreate(Type type, string referenceName, LinkedList<object> buildChain)
        {
            if (type == null)
            {
                throw new ArgumentNullException(nameof(type));
            }

            if (type.IsInterface)
            {
                return false;
            }

            if (type.IsAbstract)
            {
                return false;
            }
            
            return true;
        }