NStub.Core.BuildSystem.GetFileNameWithoutExtension C# (CSharp) Method

GetFileNameWithoutExtension() public method

Returns the file name of the specified path string without the extension.
path contains one or more of the invalid characters defined in System.IO.Path.GetInvalidPathChars().
public GetFileNameWithoutExtension ( string path ) : string
path string The path of the file.
return string
        public string GetFileNameWithoutExtension(string path)
        {
            return Path.GetFileNameWithoutExtension(path);
        }