Build() public method

The build.
public Build ( ) : License
return License
コード例 #1
0
ファイル: InfoBuilder.cs プロジェクト: khellang/Nancy.Swagger
 /// <summary>
 /// The license.
 /// </summary>
 /// <param name="license">
 /// The license.
 /// </param>
 /// <returns>
 /// The <see cref="InfoBuilder"/>.
 /// </returns>
 public InfoBuilder License(LicenseBuilder license)
 {
     this.license = license.Build();
     return this;
 }
コード例 #2
0
 /// <summary>
 /// The license.
 /// </summary>
 /// <param name="license">
 /// The license.
 /// </param>
 /// <returns>
 /// The <see cref="InfoBuilder"/>.
 /// </returns>
 public InfoBuilder License(LicenseBuilder license)
 {
     this.license = license.Build();
     return(this);
 }