Bari.Core.Test.Helper.TestFileSystemDirectory.GetFileSize C# (CSharp) Method

GetFileSize() public method

Gets the size of the given file which lies in this directory subtree
If the file does not exist.
public GetFileSize ( string relativePath ) : long
relativePath string The relative path to the file from this directory
return long
        public long GetFileSize(string relativePath)
        {
            long val;
            if (fileSizes.TryGetValue(relativePath, out val))
                return val;
            else
                return 11;
        }