예제 #1
0
        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; 
 }