예제 #1
0
 public void InvertItemValidity <T>(IHaveToken <T> token, string file, int line, string member)
 => store.ItemInversions.Add(token.Token, DiagInfo.Create(file, line, member));
예제 #2
0
 public IFor <IEnumerable <T> > ForCollection <T>(string name, string file, int line, string member)
 => inner.ForCollection(store.GetHaveToken <T>(DiagInfo.Create(file, line, member), name));
예제 #3
0
 public void InvertFilter(IFilterToken token, string file, int line, string member)
 => store.FilterInversions.Add(token, DiagInfo.Create(file, line, member));
 public IFilterToken Xor(Action <IRegister> action, Action <IRegister> action2, string file, int line, string member)
 => inner.Xor(DiagInfo.Create(file, line, member), action, action2);
예제 #5
0
 public IFor <T> For <T>(string name, string file, int line, string member)
 => inner.For(store.GetHaveToken <T>(DiagInfo.Create(file, line, member), name));
 public IFilterToken Either(Action <IRegister> action, Action <IRegister> action2,
                            Action <IRegister> action3, Action <IRegister> action4,
                            Action <IRegister> action5, string file, int line, string member)
 => inner.Or(DiagInfo.Create(file, line, member), Actions(action, action2, action3, action4, action5));
 public IFilterToken Not(Action <IRegister> action, string file, int line, string member)
 => inner.Not(DiagInfo.Create(file, line, member), action);
 public IFilterToken Group(Action <ITokenRegister> action, string file, int line, string member)
 => inner.And(DiagInfo.Create(file, line, member), action);
예제 #9
0
 public void SetToken <T>(string name, IHaveToken <T> haveToken, string file, int line, string member)
 => store.SaveToken(DiagInfo.Create(file, line, member), name, haveToken.Token);
예제 #10
0
 public IHaveToken <T> GetToken <T>(string name, string file, int line, string member)
 => store.GetHaveToken <T>(DiagInfo.Create(file, line, member), name);