IStarrableExtensions.IsStarred Method

Namespace:
Weavy.Core.Models
Assembly:
Weavy.Core.dll

IsStarred(IStarrable, int?)

Gets a value indicating whether the specified user has starred the entity.

public static bool IsStarred(this IStarrable starrable, int? userid = default(int? ))

Parameters

starrable
IStarrable

The starrable entity.

userid
int?

Id of user, or null for current user

Returns

bool