Skip to content

Instantly share code, notes, and snippets.

@coqmo5
Created December 19, 2020 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coqmo5/7b7c17b91ef75042cd8c8c64d9b0392f to your computer and use it in GitHub Desktop.
Save coqmo5/7b7c17b91ef75042cd8c8c64d9b0392f to your computer and use it in GitHub Desktop.
public class ContractRegistrator : Module
{
protected override void Load(ContainerBuilder builder)
{
base.Load(builder);
builder.RegisterType<DateManager>().As<IDateManagerContract>();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment