aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Extensions/BoolHelper.cs
blob: 5b61f864b0493df6b070daeeef259306aeabc3db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
namespace MediaBrowser.Model.Extensions
{
    public static class BoolHelper
    {
        /// <summary>
        /// Tries the parse culture invariant.
        /// </summary>
        /// <param name="s">The s.</param>
        /// <param name="result">The result.</param>
        /// <returns><c>true</c> if XXXX, <c>false</c> otherwise.</returns>
        public static bool TryParseCultureInvariant(string s, out bool result)
        {
            return bool.TryParse(s, out result);
        }
    }
}