C# Class DynamicServices.Pipeline.Utilities

Mostra file Open project: ryanohs/DynamicServices

Public Methods

Method Description
AssertIsEnumerable ( object argument ) : void
AssertIsNotNull ( object argument ) : void
AssertPropertyExists ( Type type, string propertyName ) : void
IsEnumerable ( object argument ) : bool
ToList ( Type innerType, object enumerable ) : object
ToPagedList ( Type innerType, object enumerable, PagingCriteria criteria ) : object
ToPagedList ( object enumerable, PagingCriteria criteria ) : object

Method Details

AssertIsEnumerable() public static method

public static AssertIsEnumerable ( object argument ) : void
argument object
return void

AssertIsNotNull() public static method

public static AssertIsNotNull ( object argument ) : void
argument object
return void

AssertPropertyExists() public static method

public static AssertPropertyExists ( Type type, string propertyName ) : void
type System.Type
propertyName string
return void

IsEnumerable() public static method

public static IsEnumerable ( object argument ) : bool
argument object
return bool

ToList() public static method

public static ToList ( Type innerType, object enumerable ) : object
innerType System.Type
enumerable object
return object

ToPagedList() public static method

public static ToPagedList ( Type innerType, object enumerable, PagingCriteria criteria ) : object
innerType System.Type
enumerable object
criteria PagingCriteria
return object

ToPagedList() public static method

public static ToPagedList ( object enumerable, PagingCriteria criteria ) : object
enumerable object
criteria PagingCriteria
return object