C# Class Emgu.CV.UI.Operation

An operation contains the MethodInfo and the methods parameters. It provides a way to invoke a specific method with the specific parameters.
Inheritance: ICodeGenerable
Show file Open project: genecyber/PredatorCV

Public Methods

Method Description
InvokeMethod ( Object instance ) : Object

Call the specific method with the specific parameters on the provided instance

Operation ( MethodInfo mi, Object parameters ) : System

Craete an operation using the specific method and parameters

ToCode ( ProgrammingLanguage language ) : String

Represent this operation as code

ToString ( ) : string

Represent this operation as a string

Private Methods

Method Description
ParameterToCode ( Object parameter, ProgrammingLanguage language ) : String

Method Details

InvokeMethod() public method

Call the specific method with the specific parameters on the provided instance
public InvokeMethod ( Object instance ) : Object
instance Object The instance to call the method
return Object

Operation() public method

Craete an operation using the specific method and parameters
public Operation ( MethodInfo mi, Object parameters ) : System
mi System.Reflection.MethodInfo The method info
parameters Object The parameters for this method
return System

ToCode() public method

Represent this operation as code
public ToCode ( ProgrammingLanguage language ) : String
language ProgrammingLanguage
return String

ToString() public method

Represent this operation as a string
public ToString ( ) : string
return string