Bloom.Extensions.ToInt C# (CSharp) Method

ToInt() public static method

public static ToInt ( this value ) : int
value this
return int
        public static int ToInt(this bool value)
        {
            if (value) return 1;
            return 0;
        }