コード例 #1
0
 public SwaggerSource(NSwagConsoleRunner runner, FilePath specificationFilePath, ICakeEnvironment environment)
     : base(runner, specificationFilePath, environment)
 {
 }
コード例 #2
0
 public AssemblySource(NSwagConsoleRunner runner, FilePath assemblyPath, ICakeEnvironment environment, bool useWebApi)
     : base(runner, assemblyPath, environment)
 {
     Mode = useWebApi ? AssemblyMode.WebApi : AssemblyMode.Normal;
 }
コード例 #3
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="GenerationSource" /> class.
 /// </summary>
 /// <param name="runner">The console runner.</param>
 /// <param name="sourceFilePath">Source file for the generation process</param>
 /// <param name="environment">The Cake evironment</param>
 protected GenerationSource(NSwagConsoleRunner runner, FilePath sourceFilePath, ICakeEnvironment environment)
 {
     Runner      = runner;
     Environment = environment;
     Source      = sourceFilePath;
 }
コード例 #4
0
 public JsonSchemaSource(NSwagConsoleRunner runner, FilePath schemaPath, ICakeEnvironment environment)
     : base(runner, schemaPath, environment)
 {
 }