Skip to content

Instantly share code, notes, and snippets.

View boggydigital's full-sized avatar

Bogdan Brinza boggydigital

View GitHub Profile
@boggydigital
boggydigital / Program.cs
Created September 25, 2019 00:39
DependencyManager sample
using System;
namespace DI
{
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public class DependsOnInstancesAttribute : Attribute
{
public DependsOnInstancesAttribute(params Type[] instanceTypes)
{