Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FruitReq" /> class.
 /// </summary>
 /// <param name="appleReq"></param>
 public FruitReq(AppleReq appleReq)
 {
     AppleReq = appleReq;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FruitReq" /> class
 /// with the <see cref="AppleReq" /> class
 /// </summary>
 /// <param name="actualInstance">An instance of AppleReq.</param>
 public FruitReq(AppleReq actualInstance)
 {
     this.IsNullable     = true;
     this.SchemaType     = "oneOf";
     this.ActualInstance = actualInstance;
 }