This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// dotnet add package Lamar | |
using System; | |
using Lamar; | |
namespace LamarDecorator | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// .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 |