C# Class CatalogOfFreeContent.Common.Catalog

Inheritance: ICatalog
显示文件 Open project: vladislav-karamfilov/TelerikAcademy Class Usage Examples

Public Methods

Method Description
Add ( IContent content ) : void
Catalog ( ) : System.Collections.Generic
GetListContent ( string title, int numberOfElementsToList ) : IEnumerable
UpdateContent ( string oldUrl, string newUrl ) : int

Method Details

Add() public method

public Add ( IContent content ) : void
content IContent
return void

Catalog() public method

public Catalog ( ) : System.Collections.Generic
return System.Collections.Generic

GetListContent() public method

public GetListContent ( string title, int numberOfElementsToList ) : IEnumerable
title string
numberOfElementsToList int
return IEnumerable

UpdateContent() public method

public UpdateContent ( string oldUrl, string newUrl ) : int
oldUrl string
newUrl string
return int