C# Class GoodAI.Modules.School.Common.LearningTaskFactory

Afficher le fichier Open project: GoodAI/BrainSimulator

Méthodes publiques

Méthode Description
CreateLearningTask ( Type taskType ) : ILearningTask
CreateLearningTask ( Type learningTaskType, SchoolWorld w ) : ILearningTask
CreateLearningTask ( Type taskType, Type worldType ) : ILearningTask
GetGenericType ( Type taskType ) : Type
GetSupportedWorlds ( Type taskType ) : List
IsSubclassOfRawGeneric ( Type generic, Type toCheck ) : bool

Method Details

CreateLearningTask() public static méthode

public static CreateLearningTask ( Type taskType ) : ILearningTask
taskType System.Type
Résultat ILearningTask

CreateLearningTask() public static méthode

public static CreateLearningTask ( Type learningTaskType, SchoolWorld w ) : ILearningTask
learningTaskType System.Type
w SchoolWorld
Résultat ILearningTask

CreateLearningTask() public static méthode

public static CreateLearningTask ( Type taskType, Type worldType ) : ILearningTask
taskType System.Type
worldType System.Type
Résultat ILearningTask

GetGenericType() public static méthode

public static GetGenericType ( Type taskType ) : Type
taskType System.Type
Résultat System.Type

GetSupportedWorlds() public static méthode

public static GetSupportedWorlds ( Type taskType ) : List
taskType System.Type
Résultat List

IsSubclassOfRawGeneric() public static méthode

public static IsSubclassOfRawGeneric ( Type generic, Type toCheck ) : bool
generic System.Type
toCheck System.Type
Résultat bool