Example #1
0
 /// <summary>
 /// Возвращает реализацию конкретного типа пула
 /// </summary>
 /// <param name="type">
 /// </param>
 /// <returns>
 /// The <see cref="IJobPoolTyped"/>.
 /// </returns>
 public IJobPoolTyped <TPoolObject> GetJobPool(JobPoolType type)
 {
     // var jobPools = ObjectFactory.GetAllInstances<IJobPoolTyped<TPoolObject, TJobInfo>>();
     // return jobPools.FirstOrDefault(x => x.TypePool == type);
     return(null);
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="JobPoolBase"/> class.
 /// </summary>
 /// <param name="typePool">
 /// The type pool.
 /// </param>
 protected JobPoolBase(JobPoolType typePool)
 {
     TypePool = typePool;
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="JobPoolTyped{TPoolObject}"/> class.
 /// Конструктор
 /// </summary>
 /// <param name="typePool">
 /// </param>
 protected JobPoolTyped(JobPoolType typePool)
     : base(typePool)
 {
     LockObject = typePool.ToString();
 }