private object FindCorrelationValue(string name, CorrelationProperty[] correlationValues)
 {
     foreach (CorrelationProperty property in correlationValues)
     {
         if ((property != null) && (property.Name == name))
         {
             return property.Value;
         }
     }
     return null;
 }
        object FindCorrelationValue(string name, CorrelationProperty[] correlationValues)
        {
            object value = null;
            foreach (CorrelationProperty property in correlationValues)
            {
                if (property != null && property.Name == name)
                {
                    value = property.Value;
                    break;
                }
            }

            return value;
        }