private static bool FindType(ICountDownNotifier notifier, Type type) { Type a = notifier.GetType(); return(a.Equals(type)); }