WSwipeBehaviorOnInvoked GetSwipeBehaviorOnInvoked(SwipeBehaviorOnInvoked swipeBehaviorOnInvoked) { switch (swipeBehaviorOnInvoked) { case SwipeBehaviorOnInvoked.Auto: return(WSwipeBehaviorOnInvoked.Auto); case SwipeBehaviorOnInvoked.Close: return(WSwipeBehaviorOnInvoked.Close); case SwipeBehaviorOnInvoked.RemainOpen: return(WSwipeBehaviorOnInvoked.RemainOpen); } return(WSwipeBehaviorOnInvoked.Auto); }
public static WSwipeBehaviorOnInvoked ToPlatform(this SwipeBehaviorOnInvoked swipeBehaviorOnInvoked) { switch (swipeBehaviorOnInvoked) { case SwipeBehaviorOnInvoked.Auto: return(WSwipeBehaviorOnInvoked.Auto); case SwipeBehaviorOnInvoked.Close: return(WSwipeBehaviorOnInvoked.Close); case SwipeBehaviorOnInvoked.RemainOpen: return(WSwipeBehaviorOnInvoked.RemainOpen); } return(WSwipeBehaviorOnInvoked.Auto); }