Define a static class to contain the extension method.
定义静态类别以包含扩充方法。
Concat itself is a an extension method implemented as such.
代码中的Concat是一个扩展方法(extension method),其实现如下。
The ToList method you are looking for is an extension method.
你要找的名单的方法是一个扩展方法。
Is it possible to add to class extension method via attribute?
是否有可能通过属性添加到类扩展方法吗?
How to check if property exists in Type in an extension method?
如何检查是否存在属性扩展方法中的类型?
The extension method is explicitly designed into the original schema.
在原始模式中显式设计extension方法。
If the Select method is an extension method, dynamic lookup will not find it.
如果Selected方法是个扩展方法,动态查找将找不到它。
The extension method must be designed into each enumerated list at design time.
在设计阶段,必须在每个枚举列表中设计extension方法。
Convert Static to Extension Method Introduce Variable Use Base Type where possible.
转换静态方法为扩展方法。
Boundary extension method for data reconstruction based on this filter is also proposed.
同时提出了基于该滤波器进行数据重构时的边界延拓方法。
But some problems were emerged such as extension system, extension method and service system.
但是在植保技术推广体系、推广方法、服务体系上暴露出一些问题。
The channel error control measures applied with the message extension method were also studied.
同时给出了应用该方法所必须采取的信道差错控制措施。
With the delegate and the extension method, we've created a compact and simple general solution.
随着代表和扩展的方法,我们已经建立了一个紧凑和简单的一般解决方案。
The channel error control measures applied with the message extension method were also presented.
同时给出了应用该方法所必须采取的信道差错控制措施。
It then USES the extension method in a query to list all elements that contain a calculated value.
然后在查询中使用该扩展方法列出包含计算得出的值的所有元素。
The following example declares an extension method that retrieves the shallow value of an element.
下面的示例声明了检索元素浅值的扩展方法。
Extension classified prediction is an applied technology using extension method in prediction fields.
可拓聚类预测是可拓方法在预测领域中的应用技术。
No, you cannot do this. An extension method is not used if a method with the same signature is available.
不,你不能这样做。扩展方法是不是如果具有相同签名的方法是使用。
An extension method with the same name and signature as an interface or class method will never be called.
一个扩展方法具有相同的名称和签名作为一个接口或类的方法不会被调用。
Also, if you're wanting to add a function to a class that is in a library, you can use an extension method.
同样,如果你想添加一个函数中的类库,您可以使用一个扩展方法。
Implement the extension method as a static method with at least the same visibility as the containing class.
以至少与包含类别相同的可视性,将扩充方法实作为静态方法。
Note that you do not add an aggregation; the aggregation is the older extension method, which has been deprecated.
注意,您并未添加聚合,聚合是以前的扩展方法,这种方法现在已被淘汰。
The virtual crack extension method has been utilized to simulate the J-integral of non-uniform welded joints.
采用虚拟裂纹扩展法对焊接接头力学不均匀体的断裂参量J积分进行了数值模拟分析。
Therefore, full-sampled symmetric periodic extension method is adopted here in order to alleviate boundary effect.
为此采用全样本对称周期延拓的方法进行边界延拓。
An example of turbine type selection is used to illustrate the feasibility of the extension method applied in CBR.
最后以水轮机选型设计为例,说明了利用可拓学方法进行实例推理的可行性。
I am also confident Farmer Field Schools will become our new extension method, since many feel the old approach is no longer efficient.
我还相信农民田间学校将成为我们新的推广方法,因为很多人都认为旧的方法已不再有效。
After an extension method is declared and brought into scope, you can call it like an instance method of the type that it extends.
声明扩展方法并将其引入范围中后,可以调用此扩展方法,就像调用它所扩展的类型的实例方法那样。
You can extend the functionality of a class by using an extension method, but using only the class members that you had access to anyway.
你可以通过使用一个扩展方法来扩展一个类的功能,但只能使用你有权访问的类成员。
When an instance method and extension method with the same name are both in scope, the completion list displays the extension method icon.
如果实例方法与同名的扩展方法都在范围内,则完成列表将显示扩展方法图标。
When an instance method and extension method with the same name are both in scope, the completion list displays the extension method icon.
如果实例方法与同名的扩展方法都在范围内,则完成列表将显示扩展方法图标。
应用推荐