public NSwagDocument() { WebApiToSwaggerCommand = new WebApiToSwaggerCommand(); AssemblyTypeToSwaggerCommand = new AssemblyTypeToSwaggerCommand(); SwaggerToTypeScriptCommand = new SwaggerToTypeScriptCommand(); SwaggerToCSharpCommand = new SwaggerToCSharpCommand(); }
public AssemblySwaggerGeneratorView(AssemblyTypeToSwaggerCommand command) { InitializeComponent(); ViewModelHelper.RegisterViewModel(Model, this); Model.Command = command; }