C# 클래스 PSint.Func

파일 보기 프로젝트 열기: LuckyGeck/PSint 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
globalVrb List
sInput string
sOutput string
sReturn string

공개 메소드들

메소드 설명
Func ( String sCode ) : System

Constructor for Func class. (Without init params)

Func ( String sCode, String sParam ) : System

Constructor for Func class.

Run ( frMain frmain1 ) : string

This method Runs the function.

getGlVar ( string sName ) : string

Gets the value of global var from the list with the name equal to sName

getVar ( string sName ) : string

Gets the value of var from the list with the name equal to sName

setGlVar ( Base param ) : void

Sets the value of param to global var from the list, which name is equal to param's name. If such var in list doesn't exists - it is added.

setVar ( Base param ) : void

Sets the value of param to var from the list, which name is equal to param's name. If such var in list doesn't exists - it is added.

비공개 메소드들

메소드 설명
addConsts ( ) : void

This method inits Vars list and adds consts to it.

addGlVar ( Base param ) : void

Makes a copy of param global var and adds it to the List.

addVar ( Base param ) : void

Makes a copy of param var and adds it to the List.

varExists ( string sName ) : int

Checks if a var with sName already exists.

varGlExists ( string sName ) : int

Checks if a global var with sName already exists.

메소드 상세

Func() 공개 메소드

Constructor for Func class. (Without init params)
public Func ( String sCode ) : System
sCode String Source of the function.
리턴 System

Func() 공개 메소드

Constructor for Func class.
public Func ( String sCode, String sParam ) : System
sCode String Source of the function.
sParam String Init params for this function.
리턴 System

Run() 공개 메소드

This method Runs the function.
public Run ( frMain frmain1 ) : string
frmain1 frMain Link to the main form.
리턴 string

getGlVar() 공개 메소드

Gets the value of global var from the list with the name equal to sName
public getGlVar ( string sName ) : string
sName string The name of the param to get.
리턴 string

getVar() 공개 메소드

Gets the value of var from the list with the name equal to sName
public getVar ( string sName ) : string
sName string The name of the param to get.
리턴 string

setGlVar() 공개 메소드

Sets the value of param to global var from the list, which name is equal to param's name. If such var in list doesn't exists - it is added.
public setGlVar ( Base param ) : void
param Base Base-type variable
리턴 void

setVar() 공개 메소드

Sets the value of param to var from the list, which name is equal to param's name. If such var in list doesn't exists - it is added.
public setVar ( Base param ) : void
param Base Base-type variable
리턴 void

프로퍼티 상세

globalVrb 공개적으로 정적으로 프로퍼티

public static List globalVrb
리턴 List

sInput 공개적으로 프로퍼티

public string sInput
리턴 string

sOutput 공개적으로 프로퍼티

public string sOutput
리턴 string

sReturn 공개적으로 프로퍼티

public string sReturn
리턴 string