Methods
FixNewlines
#Make sure all newlines in a string adhere to the current platform standard.
InvokeDownloader
#Start an asynchronous download operation. The download runs in a separate appdomain. After triggering that process this method returns immediately.
InvokeGetterSafe
#Call a getter property via its name. No exceptions are thrown.
Returns: The return value of the method.
InvokeMethodSafe
#Call a method via its name. No exceptions are thrown.
Returns: The return value of the method.
InvokeMethodSafe
#Call a method via its name. No exceptions are thrown.
Returns: The return value of the method.
InvokeSetter
#Call a setter property via its name.
InvokeSetterSafe
#Call a setter property via its name. No exceptions are thrown.
LikeOperator
#Exposes the VB.NET Like operator as a static method.
SetDefaultTolerances
#Utility function to set absolute and angle tolerance fields.
TernaryIf<T>
#Type safe implementation of the IIf conditional statement.
public static T TernaryIf<T>()
condition,
If True, A is returned.
T
A,
Value to return when condition evaluates to true.
T
B
Value to return when condition evaluates to false.
obsoleteTernary conditionals are now part of the standard C# and VB language spec. Consider using those instead.