コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FruitReq" /> class.
 /// </summary>
 /// <param name="bananaReq"></param>
 public FruitReq(BananaReq bananaReq)
 {
     BananaReq = bananaReq;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FruitReq" /> class
 /// with the <see cref="BananaReq" /> class
 /// </summary>
 /// <param name="actualInstance">An instance of BananaReq.</param>
 public FruitReq(BananaReq actualInstance)
 {
     this.IsNullable     = true;
     this.SchemaType     = "oneOf";
     this.ActualInstance = actualInstance;
 }