How to solve “Must be MarshalByRefObject” in a good but multiple-inheritance amputated language like C#?

前端 未结 5 594
我在风中等你
我在风中等你 2020-12-18 19:55

How to solve \"Must be MarshalByRefObject\" in a good but multiple-inheritance amputated language like C#?

The problem is very simple, in several cases you just have

5条回答
  •  悲&欢浪女
    2020-12-18 20:05

    "So, what do you do if you've already inherited from some other class (your domain model requirements)?"

    Can you create a base class for the piece of your domain model that requires inheritance from MarshalByRefObject?

提交回复
热议问题