public List <ICoreObject> GetBlocksByTypeAndSubtype(ICoreObject parent, BlockType type, string subtype) { List <ICoreObject> blockList = new List <ICoreObject>(); IList blocks = BlockService.GetBlocksByTypeAndSubtype(parent, type, subtype); for (int i = 0; i < blocks.Count; i++) { blockList.Add(blocks[i] as ICoreObject); } return(blockList); }