public static _Match <T, P> Case <T, P>(this _Match <T, P> poSwitch, T poValue, P poReturnValue) { return(poSwitch.Case(o => o == null ? poValue == null : o.Equals(poValue), poReturnValue)); }
public static _Match <T, P> Case <T, P>(this _Match <T, P> poSwitch, Func <T, Boolean> poPredicate, P poReturnValue) { return(poSwitch.Case(poPredicate, o => poReturnValue)); }
public static _Match <T, P> Case <T, P>(this _Match <T, P> poSwitch, T poValue, Func <T, P> poAction) { return(poSwitch.Case(o => o == null ? poValue == null : o.Equals(poValue), poAction)); }