Rock.Model.BlockService.GetByBlockTypeId C# (CSharp) Méthode

GetByBlockTypeId() public méthode

Returns an enumerable collection of Rock.Model.Block">Blocks that implement a specific
public GetByBlockTypeId ( int blockTypeId ) : IQueryable
blockTypeId int The Id of the to search for.
Résultat IQueryable
        public IQueryable<Block> GetByBlockTypeId( int blockTypeId )
        {
            return Queryable()
                .Where( t => t.BlockTypeId == blockTypeId )
                .OrderBy( t => t.Order );
        }