Skip to content

Instantly share code, notes, and snippets.

View ovicrisan's full-sized avatar

Ovi Crisan ovicrisan

View GitHub Profile
@ovicrisan
ovicrisan / Program.cs
Last active April 1, 2019 01:20
.NET Core decorator pattern with Lamar
// dotnet add package Lamar
using System;
using Lamar;
namespace LamarDecorator
{
class Program
{
static void Main(string[] args)
@ovicrisan
ovicrisan / Program.cs
Created March 31, 2019 03:58
.NET Core decorator pattern with DI and Scrutor
// .NET Core console application to test decorator pattern with DI and Scrutor
// in terminal / command prompt:
// dotnet add package Scrutor
// dotnet add package Microsoft.Extensions.DependencyInjection
using System;
using Microsoft.Extensions.DependencyInjection;
namespace ScrutorDecorator