ExtensionsGetOrElseT Method (T, T) |
[Missing <summary> documentation for "M:Akka.Util.Internal.Extensions.GetOrElse``1(``0,``0)"]
Namespace: Akka.Util.InternalAssembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntaxpublic static T GetOrElse<T>(
this T obj,
T elseValue
)
<ExtensionAttribute>
Public Shared Function GetOrElse(Of T) (
obj As T,
elseValue As T
) As T
public:
[ExtensionAttribute]
generic<typename T>
static T GetOrElse(
T obj,
T elseValue
)
[<ExtensionAttribute>]
static member GetOrElse :
obj : 'T *
elseValue : 'T -> 'T
Parameters
- obj
- Type: T
[Missing <param name="obj"/> documentation for "M:Akka.Util.Internal.Extensions.GetOrElse``1(``0,``0)"]
- elseValue
- Type: T
[Missing <param name="elseValue"/> documentation for "M:Akka.Util.Internal.Extensions.GetOrElse``1(``0,``0)"]
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:Akka.Util.Internal.Extensions.GetOrElse``1(``0,``0)"]
Return Value
Type:
T[Missing <returns> documentation for "M:Akka.Util.Internal.Extensions.GetOrElse``1(``0,``0)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also