这个C#里 泛型 的例子并不像C++里面的 模板 。
This illustrates that generics in C# are not like templates in C++.
我们可以通过套用Visual Studio 2005的类库模板来开始编写一个Excel Services的托管代码型UDF组件。
You can use the Visual Studio 2005 class library template to easily create an Excel Services managed-code UDF assembly.
此外该模板知道线程绑定的会话,这个会话可以跨几个方法使用,这在使用事务型仓库时非常有用。
Moreover the template is aware of thread-bound sessions which can be used across several methods, functionality very useful when using a transactional repository.
应用推荐