English 中文(简体)
A1组的C类从A2组装起。 在使用C时,需要参考A1和A2
原标题:Class C from assembly A1 implements interface from assembly A2. When using C, need to reference both A1 and A2
最佳回答

我对此感到满意。

(交战:这是国际民主和选举援助学会的特有,不知道我是否能够把它从伊斯兰教义中删除)

  1. 在A1中,不提及A2组装、视觉演播室、右翼A1项目和选择“现有项目”。 选择接口档案。 Before press the Add Button , notes it s adown button:down it and selected “Add as Link”。 如果你不这样做,你就不得不保留多个接口的复印件。

  2. 删除A1至A2的提及(如果从A1到A2使用的是接口)

  3. Voila! A1客户只需要提及A1。 我认为,这是因为现在,接口是A1和A2大会都界定的。 我不认为这危及脑膜炎,因为接口在仅有一个源代码文档中界定。 Ok, 将其汇编成两组,因此产生了某种“双重重复”,但我并不认为这有坏。 你们吗?

问题回答

首先,这等于是 break。

概略是指执行细节不相关,只要你对接口进行规划,便无动于衷。

第二,如果你想要利用接口和执行,那么你需要提及这两个集会(涉及插座结构)。 你们的法典如何发挥作用? 如果不提及执行情况,你可以立即进行某种具体的工作。 如果没有提到接口,你可以在你的代码中加以使用。

C#没有私人继承。 如果A1类采用接口A2,那是公众信息,接触A1类用户,恰好是A2类是基类而不是接口。

是的,你必须提及这两个大会。





相关问题
Manually implementing high performance algorithms in .NET

As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...

Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How do I compare two decimals to 10 decimal places?

I m using decimal type (.net), and I want to see if two numbers are equal. But I only want to be accurate to 10 decimal places. For example take these three numbers. I want them all to be equal. 0....

Exception practices when creating a SynchronizationContext?

I m creating an STA version of the SynchronizationContext for use in Windows Workflow 4.0. I m wondering what to do about exceptions when Post-ing callbacks. The SynchronizationContext can be used ...

Show running instance in single instance application

I am building an application with C#. I managed to turn this into a single instance application by checking if the same process is already running. Process[] pname = Process.GetProcessesByName("...

How to combine DataTrigger and EventTrigger?

NOTE I have asked the related question (with an accepted answer): How to combine DataTrigger and Trigger? I think I need to combine an EventTrigger and a DataTrigger to achieve what I m after: when ...

热门标签