C# Class Spring.IocQuickStart.MovieFinder.SimpleMovieFinder

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

Méthodes publiques

Méthode 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

Méthode Description
InitList ( ) : void

Initialises the in-mememory list of stored movies.

Method Details

AddMovie() public méthode

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

FindAll() public méthode

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

SimpleMovieFinder() public méthode

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