C# Класс Spring.IocQuickStart.MovieFinder.SimpleMovieFinder

Simple in-memory storage implementation of the Spring.IocQuickStart.MovieFinder.IMovieFinder interface.
Наследование: IMovieFinder
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
InitList ( ) : void

Initialises the in-mememory list of stored movies.

Описание методов

AddMovie() публичный Метод

Add a movie to the list.
public AddMovie ( Movie m ) : void
m Movie The movie.
Результат void

FindAll() публичный Метод

Finds all of the movies stored in this Spring.IocQuickStart.MovieFinder.IMovieFinder implementation.
public FindAll ( ) : IList
Результат IList

SimpleMovieFinder() публичный Метод

Creates a new instance of the Spring.IocQuickStart.MovieFinder.SimpleMovieFinder class.
public SimpleMovieFinder ( ) : System.Collections
Результат System.Collections