ModelBuilder.UnitTests.TypeCreatorBaseTests.TypeCreatorWrapper.CanPopulate C# (CSharp) Method

CanPopulate() public method

public CanPopulate ( Type type, string referenceName, LinkedList buildChain ) : bool
type System.Type
referenceName string
buildChain LinkedList
return bool
            public override bool CanPopulate(Type type, string referenceName, LinkedList<object> buildChain)
            {
                var canPopulate = base.CanPopulate(type, referenceName, buildChain);

                if (canPopulate == false)
                {
                    return false;
                }

                return type == typeof(List<string>);
            }