I have a bunch of classes of the following format, located in the various namespaces. Instances of these classes are serialized and de-serialized objects across the network.
public class Foo:INetSerializable
{
public void ReadObjectData(Streamer stream)
{
}
public void WriteObjectData(Streamer stream)
{
}
}
In a different namespace, I have a Dispatcher class that uses some criteria to serialize/deserialize these instances.
However, I don't want users to see these methods in my documentation. I cannot make these guys internal because then Dispatcher wouldn't be able to access them.
I use Visual Studio 2005, so I cannot take advantage of C# 3.0.
How can I do this?
Another Error:
How do I deal with a class that inherits from Foo and overrides the Read and WriteObjectData for example, the following is giving me this error: type does not implement interface INetSerializable
public class Bar:Foo
{
public void ReadObjectData(Streamer stream)
{
}
public void WriteObjectData(Streamer stream)
{
}
}