예제 #1
0
 internal void IncrementDataExtensionOperationCounter(string operation)
 {
     if (string.IsNullOrEmpty(operation))
     {
         return;
     }
     lock (m_dataExtensionSync)
     {
         if (DataExtension == null)
         {
             DataExtension = new SerializableDictionary(StringComparer.OrdinalIgnoreCase);
         }
         if (DataExtension.ContainsKey(operation))
         {
             DataExtension[operation]++;
         }
         else
         {
             DataExtension.Add(operation, 1);
         }
     }
 }