Ejemplo n.º 1
0
        public NSwagDocument()
        {
            WebApiToSwaggerCommand = new WebApiToSwaggerCommand();
            AssemblyTypeToSwaggerCommand = new AssemblyTypeToSwaggerCommand();

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