C# Class MBFunctionInterface.Function

Inheritance: IFunction
Mostrar archivo Open project: MatthewCox/MoronBot

Public Methods

Method Description
Function ( ) : System.Collections.Generic

Default constructor, just uses GetName to set the function's name.

GetResponse ( BotMessage message ) : List

Private Methods

Method Description
GetName ( ) : string

Helper function to get the name of 'this' class; ie, one implementing this abstract base. Strips away the inheritance/namespace/etc hierarchy normally present in the Class Type ToString output, leaving just the name of the class in isolation.

Method Details

Function() public method

Default constructor, just uses GetName to set the function's name.
public Function ( ) : System.Collections.Generic
return System.Collections.Generic

GetResponse() public abstract method

public abstract GetResponse ( BotMessage message ) : List
message BotMessage
return List