Bari.Core.Generic.IFileSystemDirectoryContracts.GetRelativePath C# (CSharp) Method

GetRelativePath() public method

Gets the relative path from this directory to another directory (in any depth)

If the given argument is not a child of this directory, an ArgumentExceptionwill be thrown.

public GetRelativePath ( IFileSystemDirectory childDirectory ) : string
childDirectory IFileSystemDirectory The child directory to get path to
return string
        public string GetRelativePath(IFileSystemDirectory childDirectory)
        {
            Contract.Requires(childDirectory != null);
            Contract.Ensures(Contract.Result<string>() != null);

            return null; // dummy value
        }