Exemple #1
0
        public NSwagDocument()
        {
            WebApiToSwaggerCommand       = new WebApiToSwaggerCommand();
            AssemblyTypeToSwaggerCommand = new AssemblyTypeToSwaggerCommand();

            SwaggerToTypeScriptCommand = new SwaggerToTypeScriptCommand();
            SwaggerToCSharpCommand     = new SwaggerToCSharpCommand();
        }
 public CSharpClientGeneratorView(SwaggerToCSharpCommand command)
 {
     InitializeComponent();
     ViewModelHelper.RegisterViewModel(Model, this);
     Model.Command = command;
 }