C# Class ColorLibrary.Green

Inheritance: IColor
显示文件 Open project: Confirmit/Students Class Usage Examples

Public Methods

Method Description
DoWith ( IColor color ) : void
DoWithColor ( Green green ) : void
DoWithColor ( Red red ) : void
Green ( )
Green ( IColored green )
Green ( IProcessor processor ) : System
Paint ( ) : string
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

Green() public method

public Green ( )

Green() public method

public Green ( IColored green )
green IColored

Green() public method

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

Paint() public method

public Paint ( ) : string
return string

ToGreen() public method

public ToGreen ( ) : Green
return Green

ToRed() public method

public ToRed ( ) : Red
return Red