Method CanExpand
CanExpand(IFileSystemInfo)
Returns true/false for whether a model has children. This method should be implemented when GetChildren(T) is an expensive operation otherwise SupportsCanExpand should return false (in which case this method will not be called)
public bool CanExpand(IFileSystemInfo toExpand)
Parameters
toExpand
IFileSystemInfo
Returns
Remarks
Only implement this method if you have a very fast way of determining whether an object can have children e.g. checking a Type (directories can always be expanded)