concreteclass

.NET: Select concrete classes using config file

(This question specifically in C#, but applies generally to .NET) I have a largish application that has a fairly good design, and is broken into major sections over interfaces (this was done to assist parallel development). We now have a primary set of concrete classes that implement the required interfaces, but we also have additiona...

internal member in an interface

I have a list of objects implementing an interface, and a list of that interface: public interface IAM { int ID { get; set; } void Save(); } public class concreteIAM : IAM { public int ID{get;set;} internal void Save(){ //save the object } //other staff for this particular class } public class MyList : List<I...

Mocking a concrete class using easymock

Is it possible? How do I do it? ...