C# Class MementoPattern.Caretaker

管理者
显示文件 Open project: marwie/Design-Patterns-in-Unity-Example Class Usage Examples

Public Methods

Method Description
Add ( Memento m ) : void
Get ( int i ) : Memento
GetCountOfSavedArticles ( ) : int

Method Details

Add() public method

public Add ( Memento m ) : void
m Memento
return void

Get() public method

public Get ( int i ) : Memento
i int
return Memento

GetCountOfSavedArticles() public method

public GetCountOfSavedArticles ( ) : int
return int