private bool CheckTranFiller(string filler) { bool flag = false; if (filler_.Contains(filler) == true) { flag = true; } else if (filler.StartsWith("ascomp:", StringComparison.Ordinal) == true) { flag = CheckAsComp.IsLegal(filler); } else if (filler.StartsWith("binfcomp:", StringComparison.Ordinal) == true) { flag = CheckBinfComp.IsLegal(filler); } else if (filler.StartsWith("fincomp(", StringComparison.Ordinal) == true) { flag = CheckFinComp.IsLegal(filler); } else if (filler.StartsWith("infcomp:", StringComparison.Ordinal) == true) { flag = CheckInfComp.IsLegal(filler); } else if (filler.StartsWith("ingcomp:", StringComparison.Ordinal) == true) { flag = CheckIngComp.IsLegal(filler); } else if (filler.StartsWith("np|", StringComparison.Ordinal) == true) { flag = CheckNpComp.IsLegal(filler); } else if (filler.StartsWith("pphr(", StringComparison.Ordinal) == true) { flag = CheckPphr.IsLegal(filler); } else if (filler.StartsWith("whinfcomp:", StringComparison.Ordinal) == true) { flag = CheckWhinfComp.IsLegal(filler); } else { flag = false; } return(flag); }
private bool CheckFiller2(string filler) { bool flag = false; if (filler2_.Contains(filler) == true) { flag = true; } else if (filler.StartsWith("ascomp:", StringComparison.Ordinal) == true) { flag = CheckAsComp.IsLegal(filler); } else if (filler.StartsWith("binfcomp:", StringComparison.Ordinal) == true) { flag = CheckBinfComp.IsLegal(filler); } else if (filler.StartsWith("edcomp:", StringComparison.Ordinal) == true) { flag = CheckEdComp.IsLegal(filler); } else if (filler.StartsWith("infcomp:", StringComparison.Ordinal) == true) { flag = CheckInfComp.IsLegal(filler); } else if (filler.StartsWith("ingcomp:", StringComparison.Ordinal) == true) { flag = CheckIngComp.IsLegal(filler); } else if (filler.StartsWith("pphr(", StringComparison.Ordinal) == true) { flag = CheckPphr.IsLegal(filler); } return(flag); }