C# 클래스 BF2Statistics.MedalData.ConditionList

상속: Condition
파일 보기 프로젝트 열기: BF2Statistics/ControlCenter 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Names string>.Dictionary

보호된 프로퍼티들

프로퍼티 타입 설명
SubConditions List

공개 메소드들

메소드 설명
Add ( Condition Condition ) : void

Adds a new sub condition under this list

Clear ( ) : void

Removes all sub-conditions under this list

Clone ( ) : object

Returns a copy (clone) of this object

ConditionList ( ConditionType Type ) : System

Constructor

GetConditions ( ) : List

Returns a list of sub-conditions under this list

GetParams ( ) : List

Returns a list of parameters for this condition

Returns ( ) : ReturnType

Returns the return value of this condition

SetParams ( List Params ) : void

Required by Condition abstract class. Donot use.

ToPython ( ) : string

Converts this list and all sub-conditions into a python string

ToTree ( ) : TreeNode

Converts the list to tree view. If there is only 1 sub criteria on an "And" or "Or" type list, then the list will not collapse into the sub criteria. Invalid Sub condition nodes will be highlighted in Red.

보호된 메소드들

메소드 설명
ValidateParam ( int ParamId, ReturnType RType ) : bool

Validates that the given parameter is a valid return type to make this condition list work properly

메소드 상세

Add() 공개 메소드

Adds a new sub condition under this list
public Add ( Condition Condition ) : void
Condition Condition
리턴 void

Clear() 공개 메소드

Removes all sub-conditions under this list
public Clear ( ) : void
리턴 void

Clone() 공개 메소드

Returns a copy (clone) of this object
public Clone ( ) : object
리턴 object

ConditionList() 공개 메소드

Constructor
public ConditionList ( ConditionType Type ) : System
Type ConditionType The list ConditionType
리턴 System

GetConditions() 공개 메소드

Returns a list of sub-conditions under this list
public GetConditions ( ) : List
리턴 List

GetParams() 공개 메소드

Returns a list of parameters for this condition
public GetParams ( ) : List
리턴 List

Returns() 공개 메소드

Returns the return value of this condition
public Returns ( ) : ReturnType
리턴 ReturnType

SetParams() 공개 메소드

Required by Condition abstract class. Donot use.
public SetParams ( List Params ) : void
Params List Not Used in a condition list!! Use
리턴 void

ToPython() 공개 메소드

Converts this list and all sub-conditions into a python string
public ToPython ( ) : string
리턴 string

ToTree() 공개 메소드

Converts the list to tree view. If there is only 1 sub criteria on an "And" or "Or" type list, then the list will not collapse into the sub criteria. Invalid Sub condition nodes will be highlighted in Red.
public ToTree ( ) : TreeNode
리턴 System.Windows.Forms.TreeNode

ValidateParam() 보호된 메소드

Validates that the given parameter is a valid return type to make this condition list work properly
protected ValidateParam ( int ParamId, ReturnType RType ) : bool
ParamId int The current parameter index
RType ReturnType The return type if the current parameter
리턴 bool

프로퍼티 상세

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

A list of "ConditionType" => "Name"
public static Dictionary Names
리턴 string>.Dictionary

SubConditions 보호되어 있는 프로퍼티

List of sub conditions
protected List SubConditions
리턴 List