Exemplo n.º 1
0
 public static bool When(this bool self, bool expected, Action <bool> callback) => self.Also(_ => { if (self == expected)
                                                                                                    {
                                                                                                        callback.Invoke(self);
                                                                                                    }
                                                                                             });