Skip to content

Instantly share code, notes, and snippets.

@cammerman
Created November 17, 2010 13:37
Show Gist options
  • Save cammerman/703389 to your computer and use it in GitHub Desktop.
Save cammerman/703389 to your computer and use it in GitHub Desktop.
Class with multiple constructors having both latent and contextual dependencies
public class DocumentStream
{
public DocumentStream(ISeparationStrategy separator, IPageStream pageStream)
{
// ...
}
public DocumentStream(ISeparationStrategy separator, IEnumerable<IPage> pageList)
{
// ...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment