Table of Contents

Method FirstOrDefaultMenu

Namespace
Innova.Prism.Library.Services
Assembly
Innova.Prism.Library.dll

FirstOrDefaultMenu(Func<IMenuBaseModel, bool>)

Returns the first menu base model that satisfies the specified condition.

public IMenuBaseModel FirstOrDefaultMenu(Func<IMenuBaseModel, bool> predicate)

Parameters

predicate Func<IMenuBaseModel, bool>

The condition to satisfy.

Returns

IMenuBaseModel

The first menu base model that satisfies the condition, or null if no such element is found.