Skip to content

Commit e5e8e81

Browse files
JakenVeinadwcullop
andauthored
Added support for automatic nesting of source files with hierarchal naming. (#1134)
Co-authored-by: Darrin W. Cullop <Darrin.Cullop@microsoft.com>
1 parent d150ccd commit e5e8e81

12 files changed

Lines changed: 71 additions & 11 deletions

src/Directory.Build.targets

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
<Product>$(AssemblyName) ($(TargetFramework))</Product>
44
</PropertyGroup>
55

6+
<ItemGroup>
7+
<!-- Automatic file nesting, for .cs files-->
8+
<Compile Update="**\*.*.cs">
9+
<DependentUpon>$([System.Text.RegularExpressions.Regex]::Replace(%(Filename), '\.[^\.]+$', '.cs'))</DependentUpon>
10+
</Compile>
11+
</ItemGroup>
12+
613
<PropertyGroup Condition="$(TargetFramework.StartsWith('net4'))">
714
<DefineConstants>$(DefineConstants);P_LINQ;SUPPORTS_BINDINGLIST</DefineConstants>
815
</PropertyGroup>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
namespace DynamicData.Tests.Cache;
2+
3+
public static partial class FilterFixture
4+
{
5+
public static partial class DynamicPredicate;
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
namespace DynamicData.Tests.Cache;
2+
3+
public static partial class FilterFixture
4+
{
5+
public static partial class DynamicPredicateAndReFiltering;
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
namespace DynamicData.Tests.Cache;
2+
3+
public static partial class FilterFixture
4+
{
5+
public static partial class DynamicPredicateState;
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
namespace DynamicData.Tests.Cache;
2+
3+
public static partial class ToObservableChangeSetFixture
4+
{
5+
public static partial class Items;
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
namespace DynamicData.Tests.Cache;
2+
3+
public static partial class ToObservableChangeSetFixture
4+
{
5+
public static partial class Sequences;
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
namespace DynamicData.Tests.List;
2+
3+
public static partial class ToObservableChangeSetFixture
4+
{
5+
public static partial class Items;
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
namespace DynamicData.Tests.List;
2+
3+
public static partial class ToObservableChangeSetFixture
4+
{
5+
public static partial class Sequences;
6+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Copyright (c) 2011-2025 Roland Pheasant. All rights reserved.
2+
// Roland Pheasant licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for full license information.
4+
5+
namespace DynamicData.Cache.Internal;
6+
7+
internal static partial class ExpireAfter;
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Copyright (c) 2011-2025 Roland Pheasant. All rights reserved.
2+
// Roland Pheasant licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for full license information.
4+
5+
namespace DynamicData.Cache.Internal;
6+
7+
internal static partial class Filter;

0 commit comments

Comments
 (0)