Skip to content

Instantly share code, notes, and snippets.

View brporter's full-sized avatar

Bryan Porter brporter

View GitHub Profile
@brporter
brporter / example.cs
Created June 29, 2021 05:31
Attempting to configure services in the DI container based on command line parameters with System.CommandLine... and failing miserably
namespace test {
interface IFooBar
{
public string Foo { get; init; }
public int Bar { get; init; }
}
public class FooBar
: IFooBar
{