Class FuncExtension

Namespace: AppMana.InteractionToolkit.MaterialUI

Static class with extension methods.

public static class FuncExtension

Inheritance

object ← FuncExtension

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Methods

InvokeIfNotNull<T>(Func<T>)

Invokes a Func if not null.

public static T InvokeIfNotNull<T>(this Func<T> func)

Parameters

func Func<T>

The function to invoke.

Returns

T

Type Parameters

T