Skip to content

Instantly share code, notes, and snippets.

View coyot's full-sized avatar

Tomasz Kujawa coyot

View GitHub Profile

Keybase proof

I hereby claim:

  • I am coyot on github.
  • I am tkujawa (https://keybase.io/tkujawa) on keybase.
  • I have a public key whose fingerprint is 4AC8 AC78 3299 A141 F390 46EE 6B69 C1A8 149E 7214

To claim this, I am signing this object:

using (var scope = container.BeginLifetimeScope())
{
var writer =
writer.Write(„hello world!”);
}
var builder = new ContainerBuilder();
builder.RegisterType<ConsoleOutput>().As<IOutput>();
var container = builder.Build();
public class CurrentDefaultColorWriter : IHourWriter
{
private IOutput _output;
public CurrentDefaultColorWriter(IOutput output)
{
this._output = output;
}
public void WriteHour()
{