public bool DoesExtend(IClassInitializer other) { IClassInitializer current = this; while (current != null) { if (current == other) { return(true); } current = current.Extends?.Provider; } return(false); }
ClassProviderComboCollection CollectionFromProvider(IClassInitializer provider) => _providerComboCollections.First(p => p.Provider == provider);