C# Class ChainOfResponsibilityDesignPattern.DivideNumbers

Inheritance: Chain
Show file Open project: marwie/Design-Patterns-in-Unity-Example Class Usage Examples

Protected Properties

Property Type Description
nextInChain Chain

Public Methods

Method Description
Calculate ( Numbers request ) : void
SetNextChain ( Chain nextChain ) : void

Method Details

Calculate() public method

public Calculate ( Numbers request ) : void
request Numbers
return void

SetNextChain() public method

public SetNextChain ( Chain nextChain ) : void
nextChain Chain
return void

Property Details

nextInChain protected property

protected Chain nextInChain
return Chain