public NameTransformScopeConcreteIdArgConditionCopyNonLazyBinder ByNewPrefabResourceMethod( string resourcePath, #if !NET_4_6 && !NET_STANDARD_2_0 ModestTree.Util. #endif Action <DiContainer, TParam1, TParam2, TParam3, TParam4, TParam5> installerMethod) { BindingUtil.AssertIsValidResourcePath(resourcePath); var gameObjectInfo = new GameObjectCreationParameters(); ProviderFunc = (container) => new SubContainerDependencyProvider( ContractType, SubIdentifier, new SubContainerCreatorByNewPrefabMethod <TParam1, TParam2, TParam3, TParam4, TParam5>( container, new PrefabProviderResource(resourcePath), gameObjectInfo, installerMethod), false); return(new NameTransformScopeConcreteIdArgConditionCopyNonLazyBinder(BindInfo, gameObjectInfo)); }
public SubContainerCreatorByNewGameObjectDynamicContext( DiContainer container, GameObjectCreationParameters gameObjectBindInfo) : base(container) { _gameObjectBindInfo = gameObjectBindInfo; }
public EmptyGameObjectProvider( DiContainer container, GameObjectCreationParameters gameObjectBindInfo) { _gameObjectBindInfo = gameObjectBindInfo; _container = container; }
public bool Equals(GameObjectCreationParameters that) { return(this == that); }