Meta technique, that allows to pospone the setting of the dependable type to the runtime.

learn more… | top users | synonyms

1
vote
2answers
348 views

Generics in C# Test Class

I'm learning about unit testing in C#. Languages_Service and PlaceOfWork_Service are classes for SOAP services which Microsoft Navision generated for me. There are several methods that are very ...
1
vote
1answer
126 views

Design pattern for ensuring the “signature” of generic lists is equal

I have an interface, Attribute, that is going to be implemented in various ways, class AttributeA implements Attribute{\\..} class AttributeB implements Attribute{\\..} Then I'm planning to have ...
1
vote
1answer
343 views

Implement Generic DataSet Builder with C#

I want to create a data access library that can build a DataSets with relations which can easily be written to XML with dataset.WriteXML(). This is a get to know C# endeavor that will hopefully gain ...
1
vote
0answers
107 views

Java Generics: how to extend a self referencing class?

Assume this type hierarchy: Interfaces Node: Basic graph node TreeNode: Node of a tree graph, extends Node PrintableTreeNode: A node which can print itself too! Concrete implementations ...
0
votes
0answers
32 views

Restructuring similar interfaces to one unified design

In my project, I have several types of Web API controllers (and their corresponding services and repositories). When I started out, I made an interface of a generic type that would describe the basic ...