コード例 #1
0
        public NameTransformScopeConcreteIdArgConditionCopyNonLazyBinder ByNewPrefabResourceMethod(
            string resourcePath,
#if !NET_4_6
            ModestTree.Util.
#endif
            Action <DiContainer, TParam1, TParam2, TParam3, TParam4> installerMethod)
        {
            BindingUtil.AssertIsValidResourcePath(resourcePath);

            var gameObjectInfo = new GameObjectCreationParameters();

            ProviderFunc =
                (container) => new SubContainerDependencyProvider(
                    ContractType, SubIdentifier,
                    new SubContainerCreatorByNewPrefabMethod <TParam1, TParam2, TParam3, TParam4>(
                        container,
                        new PrefabProviderResource(resourcePath),
                        gameObjectInfo, installerMethod), false);

            return(new NameTransformScopeConcreteIdArgConditionCopyNonLazyBinder(BindInfo, gameObjectInfo));
        }
 public NameTransformScopeArgConditionCopyNonLazyBinder(
     BindInfo bindInfo,
     GameObjectCreationParameters gameObjectInfo)
     : base(bindInfo, gameObjectInfo)
 {
 }
 public ActiveGameObjectScopeConcreteIdArgConditionCopyNonLazyBinder(BindInfo bindInfo, GameObjectCreationParameters gameObjectInfo) :
     base(bindInfo)
 {
     GameObjectInfo = gameObjectInfo;
 }
コード例 #4
0
 public GameObjectNameGroupNameScopeArgBinder(
     BindInfo bindInfo,
     GameObjectCreationParameters gameObjectInfo)
     : base(bindInfo, gameObjectInfo)
 {
 }
 public NameTransformScopeConcreteIdArgNonLazyBinder(
     BindInfo bindInfo,
     GameObjectCreationParameters gameObjectInfo)
     : base(bindInfo, gameObjectInfo)
 {
 }
コード例 #6
0
 public SubContainerCreatorByNewGameObjectDynamicContext(
     DiContainer container, GameObjectCreationParameters gameObjectBindInfo)
     : base(container)
 {
     _gameObjectBindInfo = gameObjectBindInfo;
 }
コード例 #7
0
 public EmptyGameObjectProvider(
     DiContainer container, GameObjectCreationParameters gameObjectBindInfo)
 {
     _gameObjectBindInfo = gameObjectBindInfo;
     _container          = container;
 }