C# Class Spring.IocQuickStart.MovieFinder.SimpleMovieFinder

Simple in-memory storage implementation of the Spring.IocQuickStart.MovieFinder.IMovieFinder interface.
Inheritance: IMovieFinder
Show file Open project: thenapoleon/Fluent-API-for-Spring.Net

Public Methods

Method Description
AddMovie ( Movie m ) : void

Add a movie to the list.

FindAll ( ) : IList

Finds all of the movies stored in this Spring.IocQuickStart.MovieFinder.IMovieFinder implementation.

SimpleMovieFinder ( ) : System.Collections

Creates a new instance of the Spring.IocQuickStart.MovieFinder.SimpleMovieFinder class.

Private Methods

Method Description
InitList ( ) : void

Initialises the in-mememory list of stored movies.

Method Details

AddMovie() public method

Add a movie to the list.
public AddMovie ( Movie m ) : void
m Movie The movie.
return void

FindAll() public method

Finds all of the movies stored in this Spring.IocQuickStart.MovieFinder.IMovieFinder implementation.
public FindAll ( ) : IList
return IList

SimpleMovieFinder() public method

Creates a new instance of the Spring.IocQuickStart.MovieFinder.SimpleMovieFinder class.
public SimpleMovieFinder ( ) : System.Collections
return System.Collections