/// <summary> /// Initializes a new instance of the <see cref="Quadrilateral" /> class /// with the <see cref="SimpleQuadrilateral" /> class /// </summary> /// <param name="actualInstance">An instance of SimpleQuadrilateral.</param> public Quadrilateral(SimpleQuadrilateral actualInstance) { this.IsNullable = false; this.SchemaType = "oneOf"; this.ActualInstance = actualInstance ?? throw new ArgumentException("Invalid instance found. Must not be null."); }
public Quadrilateral(SimpleQuadrilateral simpleQuadrilateral) { SimpleQuadrilateral = simpleQuadrilateral; }