Beispiel #1
0
        public static string GetHashString(this ExperimentParameters experimentParameters)
        {
            var hashStringBuilder = new StringBuilder();
            var propertyInfos     = experimentParameters.GetDbSerializableProperties().OrderBy(pi => pi.Name);

            foreach (var propertyInfo in propertyInfos)
            {
                hashStringBuilder.Append(propertyInfo.GetValue(experimentParameters, null));
            }

            return(hashStringBuilder.ToString());
        }