ServiceStack.HttpResult.GetContentLength C# (CSharp) Method

GetContentLength() public method

public GetContentLength ( ) : long?
return long?
        public long? GetContentLength()
        {
            if (FileInfo != null)
                return FileInfo.Length;
            if (ResponseStream != null)
                return ResponseStream.Length;
            return ResponseText?.Length;
        }