Skip to content

Instantly share code, notes, and snippets.

@nathvi
Created September 19, 2016 16:51
Show Gist options
  • Save nathvi/21c81655eae3254ffba1f2fcb994e995 to your computer and use it in GitHub Desktop.
Save nathvi/21c81655eae3254ffba1f2fcb994e995 to your computer and use it in GitHub Desktop.
{
public static class IPublisherFactory
{
static IPublisher CreateIPublisher(UDPImplementation implementation, UDPParamaters parameters)
{
throw new NotImplementedException();
}
static IPublisher CreateIPublisher(TCPImplementation implementation, TCPParamaters parameters)
{
throw new NotImplementedException();
}
static IPublisher CreateIPublisher(IPCImplementation implementation, IPCParamaters parameters)
{
throw new NotImplementedException();
}
}
public class UDPParamaters
{
}
public enum UDPImplementation
{
DotNet
}
public class TCPParamaters
{
}
public enum TCPImplementation
{
DotNet
}
public class IPCParamaters
{
}
public enum IPCImplementation
{
DotNet
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment