public GameObjectSingletonProviderCreator( DiContainer container, SingletonRegistry singletonRegistry) { _singletonRegistry = singletonRegistry; _container = container; }
public MonoBehaviourSingletonProviderCreator( DiContainer container, SingletonRegistry singletonRegistry) { _singletonRegistry = singletonRegistry; _container = container; }
public FactorySingletonProviderCreator( DiContainer container, SingletonRegistry singletonRegistry) { _singletonRegistry = singletonRegistry; _container = container; }
public InstanceSingletonProvider( InstanceSingletonLazyCreator lazyCreator, SingletonRegistry singletonRegistry, SingletonId id) { _singletonRegistry = singletonRegistry; _lazyCreator = lazyCreator; _id = id; Init(); }
public TypeSingletonProvider( TypeSingletonLazyCreator lazyCreator, SingletonId id, SingletonRegistry singletonRegistry) { _singletonRegistry = singletonRegistry; _id = id; _lazyCreator = lazyCreator; Init(); }
public FactorySingletonProvider( IFactorySingletonLazyCreator lazyCreator, SingletonRegistry singletonRegistry, SingletonId id) { _id = id; _singletonRegistry = singletonRegistry; _lazyCreator = lazyCreator; Init(); }
public GameObjectSingletonProvider( GameObjectSingletonLazyCreator creator, SingletonId id, SingletonRegistry singletonRegistry) { _singletonRegistry = singletonRegistry; _id = id; _creator = creator; Init(); }
public SingletonProviderCreator( DiContainer container, SingletonRegistry singletonRegistry) { _typeSingletonProviderCreator = new TypeSingletonProviderCreator(container, singletonRegistry); _methodSingletonProviderCreator = new MethodSingletonProviderCreator(singletonRegistry); _instanceSingletonProviderCreator = new InstanceSingletonProviderCreator(container, singletonRegistry); _factorySingletonProviderCreator = new FactorySingletonProviderCreator(container, singletonRegistry); #if !ZEN_NOT_UNITY3D _prefabResourceSingletonProviderCreator = new PrefabResourceSingletonProviderCreator(container, singletonRegistry); _prefabSingletonProviderCreator = new PrefabSingletonProviderCreator(container, singletonRegistry); _monoBehaviourSingletonProviderCreator = new MonoBehaviourSingletonProviderCreator(container, singletonRegistry); _gameObjectSingletonProviderCreator = new GameObjectSingletonProviderCreator(container, singletonRegistry); #endif }
public PrefabResourceSingletonProvider( PrefabResourceSingletonId resourceId, Type componentType, PrefabResourceSingletonLazyCreator lazyCreator, SingletonRegistry singletonRegistry, PrefabResourceSingletonProviderCreator owner) { _owner = owner; Assert.That(componentType.DerivesFromOrEqual <Component>()); _singletonRegistry = singletonRegistry; _lazyCreator = lazyCreator; _componentType = componentType; _resourceId = resourceId; _singletonId = new SingletonId(componentType, resourceId.ConcreteIdentifier); Init(); }
public MonoBehaviourSingletonProvider( MonoBehaviourSingletonId monoBehaviourId, Type componentType, MonoBehaviourSingletonLazyCreator lazyCreator, SingletonRegistry singletonRegistry, MonoBehaviourSingletonProviderCreator owner) { _owner = owner; Assert.That(componentType.DerivesFromOrEqual <Component>()); _singletonRegistry = singletonRegistry; _lazyCreator = lazyCreator; _componentType = componentType; _monoBehaviourId = monoBehaviourId; _singletonId = new SingletonId(componentType, monoBehaviourId.ConcreteIdentifier); Init(); }
public MethodSingletonProviderCreator( SingletonRegistry singletonRegistry) { _singletonRegistry = singletonRegistry; }
public TypeSingletonProviderCreator( DiContainer container, SingletonRegistry singletonRegistry) { _container = container; _singletonRegistry = singletonRegistry; }
public PrefabResourceSingletonProviderCreator( DiContainer container, SingletonRegistry singletonRegistry) { _singletonRegistry = singletonRegistry; _container = container; }