C# 클래스 DesignConsistencyChecker.Framework.Checker

파일 보기 프로젝트 열기: metamorph-inc/meta-core 1 사용 예제들

공개 메소드들

메소드 설명
BeginRegisterRuleDlls ( IEnumerable dllPaths ) : Task

Loads rule DLL files and instantiates all classes which implements IMgaRule. Async version. Use RegisterCancel token source to cancel the execution. RolesRegistered event is fired when finished if successful.

CheckRule ( RuleDescriptor selectedRule, List &ruleFeedbacks, List &checkerFeedbacks ) : void
CheckRules ( IEnumerable selectedRules, List &ruleFeedbacks, List &checkerFeedbacks ) : void
Checker ( MgaFCO model, MgaProject project, IMgaTraceability traceability = null, CyPhyGUIs logger = null ) : System
RefreshChildrenCache ( ) : void
RegisterRuleDll ( string dllPath ) : void
RegisterRuleDlls ( IEnumerable dllPaths ) : void

Loads rule DLL files and instantiates all classes which implements IMgaRule. Synchron version.

RegisterRulesForAssembly ( Assembly asm, string name ) : void
RegisterRulesForTypes ( IEnumerable types, string name ) : void

보호된 메소드들

메소드 설명
OnRulesRegistered ( ) : void

비공개 메소드들

메소드 설명
CallElaborator ( MgaProject project, MgaFCO currentobj, MgaFCOs selectedobjs, int param, bool expand = true ) : bool
CheckRule ( List ruleFeedbacks, List checkerFeedbacks, RuleDescriptor rule ) : void
GetAllChildren ( MgaModel root ) : List>.Dictionary

메소드 상세

BeginRegisterRuleDlls() 공개 메소드

Loads rule DLL files and instantiates all classes which implements IMgaRule. Async version. Use RegisterCancel token source to cancel the execution. RolesRegistered event is fired when finished if successful.
public BeginRegisterRuleDlls ( IEnumerable dllPaths ) : Task
dllPaths IEnumerable /// - Filename list (if the ruledll is in the same directory) /// exampleRule.dll /// - Filenames with ABSOLUTE path. /// c:\exampleRule.dll ///
리턴 Task

CheckRule() 공개 메소드

public CheckRule ( RuleDescriptor selectedRule, List &ruleFeedbacks, List &checkerFeedbacks ) : void
selectedRule DesignConsistencyChecker.DesignRule.RuleDescriptor
ruleFeedbacks List
checkerFeedbacks List
리턴 void

CheckRules() 공개 메소드

public CheckRules ( IEnumerable selectedRules, List &ruleFeedbacks, List &checkerFeedbacks ) : void
selectedRules IEnumerable
ruleFeedbacks List
checkerFeedbacks List
리턴 void

Checker() 공개 메소드

public Checker ( MgaFCO model, MgaProject project, IMgaTraceability traceability = null, CyPhyGUIs logger = null ) : System
model MgaFCO
project MgaProject
traceability IMgaTraceability
logger CyPhyGUIs
리턴 System

OnRulesRegistered() 보호된 메소드

protected OnRulesRegistered ( ) : void
리턴 void

RefreshChildrenCache() 공개 메소드

public RefreshChildrenCache ( ) : void
리턴 void

RegisterRuleDll() 공개 메소드

public RegisterRuleDll ( string dllPath ) : void
dllPath string
리턴 void

RegisterRuleDlls() 공개 메소드

Loads rule DLL files and instantiates all classes which implements IMgaRule. Synchron version.
public RegisterRuleDlls ( IEnumerable dllPaths ) : void
dllPaths IEnumerable /// - Filename list (if the ruledll is in the same directory) /// exampleRule.dll /// - Filenames with ABSOLUTE path. /// c:\exampleRule.dll ///
리턴 void

RegisterRulesForAssembly() 공개 메소드

public RegisterRulesForAssembly ( Assembly asm, string name ) : void
asm System.Reflection.Assembly
name string
리턴 void

RegisterRulesForTypes() 공개 메소드

public RegisterRulesForTypes ( IEnumerable types, string name ) : void
types IEnumerable
name string
리턴 void