public static bool MatchSuccess <T>(ITry <T> candidate) { return(typeof(Success <T>) == candidate.GetType()); }