|
<#@ template language="C#v3.5" hostSpecific="true" debug="true" #>
<#@ include file="..\LinqToTreeCodeGen.tt" #>
<#@ import namespace="System.IO" #>
using System.IO;
<#
string typeName = "DirectoryInfo";
string adapterType = "FileSystemTreeAdapter";
string targetNamespace = "LinqToFileSystem";
// note, because DirectoryInfo.Equals does not evaluate true for two instances of the
// same directory, we have to specify an equality comparison that uses the FullName property
GenerateLinqMethods(typeName, adapterType, targetNamespace,
false, "child.FullName == item.FullName");
#>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.