public static IEnumerable <ActionDescriptor> FindByUpdateType( this ITemplateScopeSearchBag @this, UpdateType updateType, int limit = int.MaxValue ) { return(@this.FindByUpdateTypes( new UpdateType[] { updateType }, limit )); }
public static ActionDescriptor FindOneByUpdateTypes(this ITemplateScopeSearchBag @this, IEnumerable <UpdateType> updateTypes) { return(@this.FindByUpdateTypes(updateTypes, 1).FirstOrDefault()); }