public virtual void SetProperty(CAlgoProp i_PropertyData)
        {
            PropertyInfo[] propArr       = PropertyList;
            bool           propertyFound = false;

            foreach (PropertyInfo realProp in propArr)
            {
                if (realProp.Name == i_PropertyData.Name)
                {
                    realProp.SetValue(this, i_PropertyData.Value, null);
                    propertyFound = true;
                    break;
                }
            }

            if (!propertyFound)
            {
                throw new AdaptionException("A property " + i_PropertyData.Name + " does not exist, please recheck your property list");
            }
        }
 private void setProperties(CAlgoProp[] i_Properties)
 {
     foreach (CAlgoProp property in i_Properties)
     {
         SetProperty(property);
     }
 }
        public virtual void SetProperty(CAlgoProp i_PropertyData)
        {
            PropertyInfo[] propArr = PropertyList;
            bool propertyFound = false;

            foreach (PropertyInfo realProp in propArr)
            {
                if (realProp.Name == i_PropertyData.Name)
                {
                    realProp.SetValue(this, i_PropertyData.Value, null);
                    propertyFound = true;
                    break;
                }
            }

            if (! propertyFound)
            {
                throw new AdaptionException("A property " + i_PropertyData.Name + " does not exist, please recheck your property list");
            }
        }