C# Класс FlatRedBall.Instructions.StaticMethodInstruction

Instruction which calls a Static class' method.
This class must be used instead of FlatRedBall.Instructions.MethodInstruction because MethodInstruction takes a reference to an instance of the object containing the method to call. If the object is a static class then the compiler will complain about static objects being used as arguments to methods.
Наследование: Instruction
Показать файл Открыть проект

Открытые методы

Метод Описание
Execute ( ) : void
ExecuteOn ( object target ) : void
StaticMethodInstruction ( MethodInfo methodInfo, object arguments, double timeToExecute ) : System
StaticMethodInstruction ( Type type, string methodToCall, object arguments, double timeToExecute ) : System

Описание методов

Execute() публичный Метод

public Execute ( ) : void
Результат void

ExecuteOn() публичный Метод

public ExecuteOn ( object target ) : void
target object
Результат void

StaticMethodInstruction() публичный Метод

public StaticMethodInstruction ( MethodInfo methodInfo, object arguments, double timeToExecute ) : System
methodInfo System.Reflection.MethodInfo
arguments object
timeToExecute double
Результат System

StaticMethodInstruction() публичный Метод

public StaticMethodInstruction ( Type type, string methodToCall, object arguments, double timeToExecute ) : System
type System.Type
methodToCall string
arguments object
timeToExecute double
Результат System