/// <summary> /// Searches for interfaces that implements the <TBase> interface. /// Basically, the <TBase> interface is only a marker. /// This way if I declare IModLibSettingsContainer it will be ensured that only one implementation /// of the interface will be returned /// </summary> public static IEnumerable <TBase> GetBaseImplementations <TBase>(params object[] args) where TBase : class, IDependencyBase => StaticDI.GetBaseImplementations <TBase>(args);
public static IEnumerable <TBase> GetBaseImplementations <TBase, TWrapper>(params object[] args) where TBase : class, IDependencyBase where TWrapper : TBase, IWrapper { return(StaticDI.GetBaseImplementations <TBase, TWrapper>(args)); }