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
파일 보기 프로젝트 열기: vchelaru/FlatRedBall

공개 메소드들

메소드 설명
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