Microsoft.Protocols.TestSuites.Pccrr.PccrrClientAdapter.GetProperty C# (CSharp) Method

GetProperty() private method

Get the value of property in ptfconfig file.
private GetProperty ( string propName ) : string
propName string The property name in ptfconfig file.
return string
        private string GetProperty(string propName)
        {
            if (string.IsNullOrEmpty(propName))
            {
                throw new ArgumentNullException(propName, "The value of propName can't be null or empty.");
            }

            string propValue = string.Empty;
            propValue = this.Site.Properties[propName];
            return propValue;
        }