Hello there,
I have a WCF Service Library (implemented using NH)
with one of the class say Test, defined as
[DataContract]
public class Test
with two constructors defined as
internal Test()
{
}
public Test(int param1, IList<Int32> param2, int param3)
{
this.Param1 = param1;
this.Param2 = param2;
this.Param3 = param3;
}
Now, I want my client application to only access the second constructor with params and not the default constructor, which I have tried to hide using internal.
But what actually happening is just opposite. In client application, I am able to see the internal constructor only.
Any thoughts?