2 implementations of IFileSystemTreeNode
Microsoft.NET.TestFramework (2)
Mock\FileSystemMockBuilder.cs (2)
656
private class DirectoryNode :
IFileSystemTreeNode
668
private class FileNode :
IFileSystemTreeNode
13 references to IFileSystemTreeNode
Microsoft.NET.TestFramework (13)
Mock\FileSystemMockBuilder.cs (13)
115
if (current.Subs.TryGetValue(p, out
var
node) && node is DirectoryNode directoryNode)
140
if (current.Subs.TryGetValue(p, out
var
node))
179
if (current.Subs.TryGetValue(pathModel.FileOrDirectoryName(), out
var
possibleConflict) &&
202
if (current.Subs.TryGetValue(pathModel.FileOrDirectoryName(), out
var
node))
218
Func<ConcurrentDictionary<string,
IFileSystemTreeNode
>, IEnumerable<string>> predicate)
238
if (current.Subs.TryGetValue(pathModel.FileOrDirectoryName(), out
var
node))
353
return (current.Subs.TryGetValue(pathModel.FileOrDirectoryName(), out
var
node)
370
if (current.Subs.TryGetValue(pathModel.FileOrDirectoryName(), out
var
node))
528
return current.Subs.TryGetValue(pathModel.FileOrDirectoryName(), out
var
node)
623
IFileSystemTreeNode
? sourceNode = sourceParent?.Subs[parentPathModel.FileOrDirectoryName()];
629
if (current.Subs.TryGetValue(destinationPathModel.FileOrDirectoryName(), out
var
node))
658
public ConcurrentDictionary<string,
IFileSystemTreeNode
> Subs { get; } =
659
new ConcurrentDictionary<string,
IFileSystemTreeNode
>();