Akka.Remote.Transport.Helios.HeliosTransportSettings.OptionSize C# (CSharp) Method

OptionSize() private method

private OptionSize ( string s ) : long?
s string
return long?
        private long? OptionSize(string s)
        {
            var bytes = Config.GetByteSize(s);
            if (bytes == null || bytes == 0) return null;
            if (bytes < 0) throw new ConfigurationException(string.Format("Setting {0} must be 0 or positive", s));
            return bytes;
        }