Questions tagged [internal-class]
19 questions
0
votes
1 answer
Internal interface leads to DRY violation
I have the following:
internal class Person {
}
internal interface IGetPerson {
Person GetPerson();
}
public class Cat: IGetPerson {
private Person _Person = new Person();
Person IGetPerson.GetPerson() {
return _Person;
}
internal…

William Jockusch
- 26,513
- 49
- 182
- 323
0
votes
0 answers
Instantiate internal class with public constructor in third party assembly
I would like to instantiate an internal class of a third party with a public constructor, the class Microsoft.AnalysisServices.XmlaClient to be exact. Ideally, I would like to end up being able to access the methods like instance.Connect(blabla)…

Aktaeon
- 189
- 2
- 14
0
votes
1 answer
How does jaxp internal classes work?
I have a very basic doubt. Please help me understand the following lines from this link
http://docs.oracle.com/javase/1.5.0/docs/guide/xml/jaxp/JAXP-Compatibility_150.html
"The solution in the JAXP 1.3 reference name is to change the package names…

user3292957
- 3
- 1
0
votes
0 answers
Modifying extended inner class
Okay, so I've got a basic Binary Search tree class I've made, which depends on an internal Node class to store the data. It goes something like this (just showing the bare bones here):
public class TreeSet where T : IComparable
{
private…

Darrel Hoffman
- 4,436
- 6
- 29
- 41