ModelBuilder.DefaultExecuteStrategy.Populate C# (CSharp) Method

Populate() public method

The parameter is null. /// No or was found to /// generate a requested type. /// Failed to generate a requested type.
public Populate ( object instance ) : object
instance object
return object
        public object Populate(object instance)
        {
            if (instance == null)
            {
                throw new ArgumentNullException(nameof(instance));
            }

            EnsureInitialized();

            _buildChain.Push(instance);

            try
            {
                return PopulateInstance(instance);
            }
            finally
            {
                _buildChain.Pop();
            }
        }