C# Class ColorLibrary.Red

Inheritance: IColored
ファイルを表示 Open project: Confirmit/Students Class Usage Examples

Public Methods

Method Description
DoWith ( IColor color ) : void
DoWithColor ( Green green ) : void
DoWithColor ( Red red ) : void
Paint ( ) : string
Red ( )
Red ( IColored red )
Red ( IProcessor processor ) : System
ToGreen ( ) : Green
ToRed ( ) : Red

Method Details

DoWith() public method

public DoWith ( IColor color ) : void
color IColor
return void

DoWithColor() public method

public DoWithColor ( Green green ) : void
green Green
return void

DoWithColor() public method

public DoWithColor ( Red red ) : void
red Red
return void

Paint() public method

public Paint ( ) : string
return string

Red() public method

public Red ( )

Red() public method

public Red ( IColored red )
red IColored

Red() public method

public Red ( IProcessor processor ) : System
processor IProcessor
return System

ToGreen() public method

public ToGreen ( ) : Green
return Green

ToRed() public method

public ToRed ( ) : Red
return Red