Exemple #1
0
        /// <summary>
        /// Creates a builder for an existential element as part of the current group element.
        /// </summary>
        /// <returns>Existential builder.</returns>
        public ExistsBuilder Exists()
        {
            var builder = new ExistsBuilder();

            _nestedBuilders.Add(builder);
            return(builder);
        }
Exemple #2
0
 /// <summary>
 /// Adds an existential element builder to the group element.
 /// </summary>
 /// <param name="builder">Element builder to add.</param>
 public void Exists(ExistsBuilder builder)
 {
     _nestedBuilders.Add(builder);
 }