Skip to main content

AuthRepositoryUtils

Assembly: ServiceStack.dll
View Source
Declaration
public static class AuthRepositoryUtils

Methods

ParseOrderBy(String, out Boolean)

View Source
Declaration
public static string ParseOrderBy(string orderBy, out bool desc)
Returns

System.String

Parameters
TypeName
System.StringorderBy
System.Booleandesc

SortAndPage<TUserAuth>(IEnumerable<TUserAuth>, String, Nullable<Int32>, Nullable<Int32>)

View Source
Declaration
public static IEnumerable<TUserAuth> SortAndPage<TUserAuth>(this IEnumerable<TUserAuth> q, string orderBy, int? skip, int? take)
where TUserAuth : IUserAuth
Returns

System.Collections.Generic.IEnumerable<<TUserAuth>>

Parameters
TypeName
System.Collections.Generic.IEnumerable<<TUserAuth>>q
System.StringorderBy
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take
Type Parameters
  • TUserAuth