Method Function NamespaceTerminal.Gui AssemblyTerminal.Gui.dll Function(Func<int>) Creates a "PosFunc" from the specified function. public static Pos Function(Func<int> function) Parameters function Func<int> The function to be executed. Returns Pos The Pos returned from the function.