C# 클래스 Machine.Specifications.Factories.BehaviorFactory

파일 보기 프로젝트 열기: machine/machine.specifications 1 사용 예제들

공개 메소드들

메소드 설명
BehaviorFactory ( ) : System
CreateBehaviorFrom ( FieldInfo behaviorField, Context context ) : Machine.Specifications.Model.Behavior

비공개 메소드들

메소드 설명
CreateBehaviorSpecifications ( IEnumerable itFieldInfos, Machine.Specifications.Model.Behavior behavior ) : void
EnsureAllBehaviorFieldsAreInContext ( Type behaviorType, Context context ) : void
EnsureBehaviorDoesNotHaveFrameworkFieldsExceptIt ( Type behaviorType ) : void
EnsureBehaviorHasBehaviorsAttribute ( Type behaviorType ) : void
EnsureContextFieldExists ( Context context, FieldInfo contextField, FieldInfo requiredField, Type behaviorType ) : void
EnsureContextFieldIsCompatibleType ( Context context, FieldInfo contextField, FieldInfo requiredField, Type behaviorType ) : void

메소드 상세

BehaviorFactory() 공개 메소드

public BehaviorFactory ( ) : System
리턴 System

CreateBehaviorFrom() 공개 메소드

public CreateBehaviorFrom ( FieldInfo behaviorField, Context context ) : Machine.Specifications.Model.Behavior
behaviorField System.Reflection.FieldInfo
context Machine.Specifications.Model.Context
리턴 Machine.Specifications.Model.Behavior