Esempio n. 1
0
 public void Register(ITranscationProducer producer, TransactionMemberType type = TransactionMemberType.UPDATE)
 {
     if (MembersDictionary.ContainsKey(producer))
     {
         var member = MembersDictionary[producer];
         members.Remove(member);
         members.Add(member);
     }
     else
     {
         var member = new TransactionMember()
         {
             MemberType = type,
             Producer   = producer
         };
         members.Add(member);
         MembersDictionary.Add(producer, member);
     }
 }
Esempio n. 2
0
 public void Enqueue(ITranscationProducer producer)
 {
 }