Encog.App.Analyst.Script.Prop.ScriptProperties.GetPropertyInt C# (CSharp) Method

GetPropertyInt() public method

Get a property as a int.
public GetPropertyInt ( String name ) : int
name String The property name.
return int
        public int GetPropertyInt(String name)
        {
            try
            {
                String v = _data[name];
                if (v == null)
                {
                    return 0;
                }
                return Int32.Parse(v);
            }
            catch (FormatException ex)
            {
                throw new AnalystError(ex);
            }
        }