Skip to content

Commit a7f49b1

Browse files
committed
Minor (moved class in its own file)
SVN: trunk@5065
1 parent c9cb791 commit a7f49b1

File tree

3 files changed

+19
-17
lines changed

3 files changed

+19
-17
lines changed

src/NHibernate/Linq/Functions/FunctionRegistry.cs

-17
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,6 @@
77
using NHibernate.Hql.Ast;
88
using NHibernate.Linq.Visitors;
99

10-
namespace NHibernate.Linq
11-
{
12-
public class LinqExtensionMethodAttribute : Attribute
13-
{
14-
public string Name { get; private set; }
15-
16-
public LinqExtensionMethodAttribute()
17-
{
18-
}
19-
20-
public LinqExtensionMethodAttribute(string name)
21-
{
22-
Name = name;
23-
}
24-
}
25-
}
26-
2710
namespace NHibernate.Linq.Functions
2811
{
2912
public class FunctionRegistry
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
using System;
2+
3+
namespace NHibernate.Linq
4+
{
5+
public class LinqExtensionMethodAttribute: Attribute
6+
{
7+
public LinqExtensionMethodAttribute()
8+
{
9+
}
10+
11+
public LinqExtensionMethodAttribute(string name)
12+
{
13+
Name = name;
14+
}
15+
16+
public string Name { get; private set; }
17+
}
18+
}

src/NHibernate/NHibernate.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,7 @@
654654
<Compile Include="Impl\SessionIdLoggingContext.cs" />
655655
<Compile Include="Linq\Expressions\AggregateExpressionNode.cs" />
656656
<Compile Include="Linq\EagerFetchingExtensionMethods.cs" />
657+
<Compile Include="Linq\LinqExtensionMethodAttribute.cs" />
657658
<Compile Include="Linq\TypeHelperExtensionMethods.cs" />
658659
<Compile Include="Linq\Visitors\NameUnNamedParameters.cs" />
659660
<Compile Include="Linq\NhRelinqQueryParser.cs" />

0 commit comments

Comments
 (0)