Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
がありDictionary<string, string>、MVC のモデル バインディングと同じように、辞書の値でオブジェクトを更新したいとします... MVC なしでどのようにそれを行うのでしょうか?
Dictionary<string, string>
それは可能ですが、明らかに System.Web.Mvc を参照する必要があります。多かれ少なかれ、ModelBinder (おそらくDefaultModelBinder.
DefaultModelBinder
正確に何を望んでいるのかによっては、独自の単純なリフレクション ベースのソリューションを展開する方が理にかなっている場合があります。