Class Do
Provides utility methods to execute functions and actions under the invariant culture.
public static class Do
- Inheritance
-
Do
- Inherited Members
Methods
Invariant(Action)
Executes the specified action under the invariant culture.
public static void Invariant(Action action)
Parameters
action
ActionThe action to execute.
Invariant<T>(Func<T>)
Executes the specified function under the invariant culture and returns its result.
public static T Invariant<T>(Func<T> func)
Parameters
func
Func<T>The function to execute.
Returns
- T
The result of executing the function.
Type Parameters
T
The type of the result produced by the function.