Example #1
0
        public StatementAIResourceRegistry AllocateAgentInstanceResourceRegistry(
            AIRegistryRequirements registryRequirements)
        {
            if (ContextDefinition.ControllerFactories.Length == 1) {
                return ContextDefinition.ControllerFactories[0]
                    .AllocateAgentInstanceResourceRegistry(registryRequirements);
            }

            return AIRegistryUtil.AllocateRegistries(registryRequirements, AIRegistryFactoryMap.INSTANCE);
        }
 public override StatementAIResourceRegistry AllocateAgentInstanceResourceRegistry(
     AIRegistryRequirements registryRequirements)
 {
     return AIRegistryUtil.AllocateRegistries(registryRequirements, AIRegistryFactoryMultiPerm.INSTANCE);
 }
Example #3
0
 public abstract StatementAIResourceRegistry AllocateAgentInstanceResourceRegistry(
     AIRegistryRequirements registryRequirements);