C# 클래스 DataDictionary.Interpreter.ExplanationPart

Part of the explanation of an evaluation
파일 보기 프로젝트 열기: ERTMSSolutions/ERTMSFormalSpecs 1 사용 예제들

공개 메소드들

메소드 설명
AddSubExplanation ( ExplanationPart explain, ExplanationPart subExplain ) : void

Adds a sub explanation for the explain provided as parameter

CreateNamedSubExplanation ( ExplanationPart explain, string message, object leftPart ) : ExplanationPart

Creates a sub explanation for the explain provided as parameter

CreateSubExplanation ( ExplanationPart explain, ModelElement root, DataDictionary.Rules.Change change ) : ExplanationPart

Creates a sub explanation for the explain provided as parameter

CreateSubExplanation ( ExplanationPart explain, object leftPart, INamable rightPart = null ) : ExplanationPart

Creates a sub explanation for the explain provided as parameter

CreateSubExplanation ( ExplanationPart explain, string name ) : ExplanationPart

Creates a sub explanation for the explain provided as parameter

ExplanationPart ( ModelElement element, DataDictionary.Rules.Change change ) : System.Collections.Generic

Constructor for an explanation, based on a change

ExplanationPart ( ModelElement element, object leftPart, INamable rightPart = null ) : System.Collections.Generic

Constructor

ExplanationPart ( ModelElement element, string message, INamable rightPart = null ) : System.Collections.Generic

Constructor

SetNamable ( ExplanationPart explain, INamable namable ) : void

Sets the value associated to the explanation

비공개 메소드들

메소드 설명
ExplainLeftPart ( object leftPart ) : string

Explains a left part

explainNamable ( INamable namable ) : string

Provides the textual representation of the namable provided

메소드 상세

AddSubExplanation() 공개 정적인 메소드

Adds a sub explanation for the explain provided as parameter
public static AddSubExplanation ( ExplanationPart explain, ExplanationPart subExplain ) : void
explain ExplanationPart
subExplain ExplanationPart
리턴 void

CreateNamedSubExplanation() 공개 정적인 메소드

Creates a sub explanation for the explain provided as parameter
public static CreateNamedSubExplanation ( ExplanationPart explain, string message, object leftPart ) : ExplanationPart
explain ExplanationPart
message string
leftPart object
리턴 ExplanationPart

CreateSubExplanation() 공개 정적인 메소드

Creates a sub explanation for the explain provided as parameter
public static CreateSubExplanation ( ExplanationPart explain, ModelElement root, DataDictionary.Rules.Change change ) : ExplanationPart
explain ExplanationPart
root ModelElement
change DataDictionary.Rules.Change
리턴 ExplanationPart

CreateSubExplanation() 공개 정적인 메소드

Creates a sub explanation for the explain provided as parameter
public static CreateSubExplanation ( ExplanationPart explain, object leftPart, INamable rightPart = null ) : ExplanationPart
explain ExplanationPart
leftPart object What is evaluated
rightPart INamable The evaluated value
리턴 ExplanationPart

CreateSubExplanation() 공개 정적인 메소드

Creates a sub explanation for the explain provided as parameter
public static CreateSubExplanation ( ExplanationPart explain, string name ) : ExplanationPart
explain ExplanationPart
name string
리턴 ExplanationPart

ExplanationPart() 공개 메소드

Constructor for an explanation, based on a change
public ExplanationPart ( ModelElement element, DataDictionary.Rules.Change change ) : System.Collections.Generic
element ModelElement The element for which this explanation part is created
change DataDictionary.Rules.Change The change performed
리턴 System.Collections.Generic

ExplanationPart() 공개 메소드

Constructor
public ExplanationPart ( ModelElement element, object leftPart, INamable rightPart = null ) : System.Collections.Generic
element ModelElement The element for which this explanation part is created
leftPart object The left path to associate to this explanation
rightPart INamable The value associate to this left part
리턴 System.Collections.Generic

ExplanationPart() 공개 메소드

Constructor
public ExplanationPart ( ModelElement element, string message, INamable rightPart = null ) : System.Collections.Generic
element ModelElement The element for which this explanation part is created
message string The message to display. MAKE SURE you do not use string concatenation to create this message
rightPart INamable The value associated to the message, if any
리턴 System.Collections.Generic

SetNamable() 공개 정적인 메소드

Sets the value associated to the explanation
public static SetNamable ( ExplanationPart explain, INamable namable ) : void
explain ExplanationPart
namable INamable
리턴 void