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