FirstChildAsync<TModel>(IRedaktContext, string, Func<TModel, bool>, Nullable<CultureInfo>)

public static async ValueTask<INodeViewModel<TModel>> FirstChildAsync<TModel>(IRedaktContext context, string nodeId, Func<TModel, bool> filter, Nullable<CultureInfo> forCulture)
Returns:
ValueTask<INodeViewModel<TModel>>

Parameters

nodeId string
filter Func<TModel, bool>
forCulture Nullable<CultureInfo>

Type Parameters

TModel

FirstChildAsync(IRedaktContext, string, Func<dynamic, bool>, Nullable<CultureInfo>)

public static ValueTask<INodeViewModel<dynamic>> FirstChildAsync(IRedaktContext context, string nodeId, Func<dynamic, bool> filter, Nullable<CultureInfo> forCulture)
Returns:
ValueTask<INodeViewModel<dynamic>>

Parameters

nodeId string
filter Func<dynamic, bool>
forCulture Nullable<CultureInfo>
In this article