System.TimeUtils.ToSeconds C# (CSharp) Method

ToSeconds() public static method

public static ToSeconds ( this value ) : System.TimeSpan
value this
return System.TimeSpan
        public static TimeSpan ToSeconds(this int value)
        {
            return TimeSpan.FromSeconds(value);
        }