public UserQueue (QueueBufferFor who) : base() { //this is a queue for of user ids, so the value COMMENT, which will make the queue store status ids, is not allowed, default value USER_INFO will be used. if(who==QueueBufferFor.COMMENT) lstWaitingIDInDB = new QueueBuffer( QueueBufferFor.USER_INFO ); else lstWaitingIDInDB = new QueueBuffer(who); }
public UserQueue(QueueBufferFor who) : base() { //this is a queue for of user ids, so the value COMMENT, which will make the queue store status ids, is not allowed, default value USER_INFO will be used. if (who == QueueBufferFor.COMMENT) { lstWaitingIDInDB = new QueueBuffer(QueueBufferFor.USER_INFO); } else { lstWaitingIDInDB = new QueueBuffer(who); } }
///构造函数 ///<param name="target">要操作的目标</param> public QueueBuffer(QueueBufferFor target) { _target = target; }