/// <summary> /// Возвращает, зарегисрирован ли переданный тип как ресурс. /// </summary> /// <param name="type">Тип.</param> /// <returns> /// <c>true</c> if [is resource registered] [the specified type]; otherwise, <c>false</c>. /// </returns> public bool IsResourceRegistered(Type type) { return(_registrations.Any(k => k.ResourceType == type)); }