StateSystemMapping

Undocumented in source.

Members

Functions

addInstance
StateSystemMapping addInstance(System system_a)

Creates a mapping for the System type to a specific System instance. A SystemInstanceProvider is used for the mapping.

addMethod
StateSystemMapping addMethod(Object delegate() method_a)

Creates a mapping for the System type to a method call. The method should return a System instance. A DynamicSystemProvider is used for the mapping.

addProvider
StateSystemMapping addProvider(ISystemProvider provider_a, ClassInfo class_a)

Maps through to the addProvider method of the SystemState that this mapping belongs to so that a fluent interface can be used when configuring entity states.

addSingleton
StateSystemMapping addSingleton(ClassInfo type_a)

Creates a mapping for the System type to a single instance of the provided type. The instance is not created until it is first requested. The type should be the same as or extend the type for this mapping. A SystemSingletonProvider is used for the mapping.

withPriority
StateSystemMapping withPriority(int priority_a)

Applies the priority to the provider that the System will be.

Meta