コード例 #1
0
            public override AuxiliaryTransactionState Apply(object providerIdentityKey)
            {
                AuxiliaryTransactionStateProvider provider = Providers[providerIdentityKey];

                if (provider != null)
                {
                    return(provider.CreateNewAuxiliaryTransactionState());
                }
                return(null);
            }
コード例 #2
0
 public override void UnregisterProvider(AuxiliaryTransactionStateProvider provider)
 {
     _providers.Remove(provider.IdentityKey);
 }
コード例 #3
0
 public override void RegisterProvider(AuxiliaryTransactionStateProvider provider)
 {
     _providers[provider.IdentityKey] = provider;
 }