public MemoryPoolBindingFinalizer(
            BindInfo bindInfo, FactoryBindInfo factoryBindInfo, MemoryPoolBindInfo poolBindInfo)
            : base(bindInfo)
        {
            // Note that it doesn't derive from MemoryPool<TContract>
            // when used with To<>, so we can only check IMemoryPoolBase
            Assert.That(factoryBindInfo.FactoryType.DerivesFrom <IMemoryPool>());

            _factoryBindInfo = factoryBindInfo;
            _poolBindInfo    = poolBindInfo;
        }
 public FactoryFromBinder(
     BindInfo bindInfo, FactoryBindInfo factoryBindInfo)
     : base(bindInfo, factoryBindInfo)
 {
 }
Example #3
0
 public FactoryToChoiceBinder(
     BindInfo bindInfo, FactoryBindInfo factoryBindInfo)
     : base(bindInfo, factoryBindInfo)
 {
 }
Example #4
0
 public MemoryPoolInitialSizeBinder(
     BindInfo bindInfo, FactoryBindInfo factoryBindInfo, MemoryPoolBindInfo poolBindInfo)
     : base(bindInfo, factoryBindInfo, poolBindInfo)
 {
 }
 public FactorySubContainerBinder(
     BindInfo bindInfo, FactoryBindInfo factoryBindInfo, object subIdentifier)
     : base(bindInfo, factoryBindInfo, subIdentifier)
 {
 }