feature: add a ReactiveForm<TViewModel> base class to ReactiveUI.Winforms

オープン 初心者向け
#4,588 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
csharp
領域
desktop

調査の方向性

src/ReactiveUI.Winformsを読み、既存のWinFormsのForm構成とReactiveUserControl<TViewModel>を比較します。同じIViewFor<TViewModel>の実装とViewModelプロパティを持つ基底クラスReactiveForm<TViewModel>を追加します。フォームがこれを継承し、期待されるビューインターフェースを満たせれば完了です。

索引モデルが issue の本文から書いたものです。

説明

In ReactiveUI.Winforms a Form can only be a view by implementing IViewFor<TViewModel> by hand. This was raised in discussion #3420.

Evidence: src/ReactiveUI.Winforms has ReactiveUserControl<TViewModel> and ReactiveUserControlNonGeneric, which implement IViewFor<TViewModel> and expose a ViewModel property. There is no equivalent base class for Form, so every form needs its own ViewModel property and the two IViewFor members.

Expected: a ReactiveForm<TViewModel> base class that matches ReactiveUserControl<TViewModel>, so a form becomes a view by inheriting from it.

主要言語
C#
スター
8.6k
フォーク
1.1k
平均マージ
17時間 31分
マージ済み PR(30日)
22

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

reactiveui/ReactiveUI のほかの issue

reactiveui/ReactiveUI の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。