public GraphQLContentOptions ConfigurePart(string partName, Action <GraphQLContentPartOption> action)
        {
            var option = new GraphQLContentPartOption(partName);

            action(option);

            PartOptions = PartOptions.Union(new[] { option });

            return(this);
        }
        public GraphQLContentOptions ConfigurePart <TContentPart>(Action <GraphQLContentPartOption> action)
            where TContentPart : ContentPart
        {
            var option = new GraphQLContentPartOption <TContentPart>();

            action(option);

            PartOptions = PartOptions.Union(new[] { option });

            return(this);
        }