Delegate TryFunc<T1, T2, T3, T4, TResult>
Delegate that has 4 parameters and returns an out value of the type specified by the TResult
parameter.
This method can fail so the boolean return type indicate the state succeeded or not of the method.
Namespace: QuikGraph
Assembly: QuikGraph.dll
Syntax
public delegate bool TryFunc<in T1, in T2, in T3, in T4, TResult>(T1 arg1, T2 arg2, T3 arg3, T4 arg4, out TResult result);
Parameters
Type | Name | Description |
---|---|---|
T1 | arg1 | The first parameter of the method that this delegate encapsulates. |
T2 | arg2 | The second parameter of the method that this delegate encapsulates. |
T3 | arg3 | The third parameter of the method that this delegate encapsulates. |
T4 | arg4 | The fourth parameter of the method that this delegate encapsulates. |
TResult | result | The result of the method if it succeed. |
Returns
Type | Description |
---|---|
System.Boolean | Boolean indicating if the method succeeded or not. |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the method that this delegate encapsulates. |
T2 | The type of the second parameter of the method that this delegate encapsulates. |
T3 | The type of the third parameter of the method that this delegate encapsulates. |
T4 | The type of the fourth parameter of the method that this delegate encapsulates. |
TResult | The type of the return value of the method that this delegate encapsulates. |