Table of Contents

Method FirstOrDefaultGroup

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

FirstOrDefaultGroup(Func<IMenuGroupModel, bool>)

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

IMenuGroupModel FirstOrDefaultGroup(Func<IMenuGroupModel, bool> predicate)

Parameters

predicate Func<IMenuGroupModel, bool>

The condition to satisfy.

Returns

IMenuGroupModel

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