public static SwithCaseExt.SwithCase <TCase, TOther> Case <TCase, TOther>(this SwithCaseExt.SwithCase <TCase, TOther> sc, TCase option, TOther other, bool bBreak) where TCase : IEquatable <TCase> { return(sc.Case <TCase, TOther>((Predicate <TCase>)(c => c.Equals(option)), other, bBreak)); }
public static SwithCaseExt.SwithCase <TCase, TOther> Case <TCase, TOther>(this SwithCaseExt.SwithCase <TCase, TOther> sc, Predicate <TCase> predict, TOther other) where TCase : IEquatable <TCase> { return(sc.Case <TCase, TOther>(predict, other, true)); }
public static SwithCaseExt.SwithCase <TCase, TOther> Case <TCase, TOther>(this SwithCaseExt.SwithCase <TCase, TOther> sc, TCase option, TOther other) where TCase : IEquatable <TCase> { return(sc.Case <TCase, TOther>(option, other, true)); }