+17
-63
lines changedFilter options
+17
-63
lines changed Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@
10
10
</PropertyGroup>
11
11
12
12
<ItemGroup>
13
-
<PackageReference Include="Signum.Analyzer" Version="2.0.0" />
14
-
<!--<PackageReference Include="Signum.MSBuildTask" Version="1.0.3" />-->
13
+
<PackageReference Include="Signum.Analyzer" Version="2.3.0" />
14
+
<PackageReference Include="Signum.MSBuildTask" Version="1.0.5" />
15
15
</ItemGroup>
16
16
17
17
<ItemGroup>
@@ -22,11 +22,4 @@
22
22
<ProjectReference Include="..\Signum.Entities\Signum.Entities.csproj" />
23
23
<ProjectReference Include="..\Signum.Utilities\Signum.Utilities.csproj" />
24
24
</ItemGroup>
25
-
26
-
<Target Name="SignumAfterCompile" AfterTargets="AfterCompile" Outputs="$(TargetPath)">
27
-
<WriteLinesToFile File="$(BaseIntermediateOutputPath)SignumReferences.txt" Lines="@(ReferencePath)" Overwrite="true" Encoding="Unicode" />
28
-
<Exec command="dotnet "D:\Signum\southwind\Framework\Signum.MSBuildTask\bin\x64\Debug\netcoreapp2.1\Signum.MSBuildTask.dll" "@(IntermediateAssembly)" "$(BaseIntermediateOutputPath)SignumReferences.txt"" ConsoleToMSBuild="false">
29
-
<Output TaskParameter="ConsoleOutput" PropertyName="OutputOfExec" />
30
-
</Exec>
31
-
</Target>
32
25
</Project>
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@
10
10
</PropertyGroup>
11
11
12
12
<ItemGroup>
13
-
<PackageReference Include="Signum.Analyzer" Version="2.0.0" />
14
-
<!--<PackageReference Include="Signum.MSBuildTask" Version="1.0.3" />-->
13
+
<PackageReference Include="Signum.Analyzer" Version="2.3.0" />
14
+
<PackageReference Include="Signum.MSBuildTask" Version="1.0.5" />
15
15
</ItemGroup>
16
16
17
17
<ItemGroup>
@@ -23,11 +23,4 @@
23
23
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
24
24
</None>
25
25
</ItemGroup>
26
-
27
-
<Target Name="SignumAfterCompile" AfterTargets="AfterCompile" Outputs="$(TargetPath)">
28
-
<WriteLinesToFile File="$(BaseIntermediateOutputPath)SignumReferences.txt" Lines="@(ReferencePath)" Overwrite="true" Encoding="Unicode" />
29
-
<Exec command="dotnet "D:\Signum\southwind\Framework\Signum.MSBuildTask\bin\x64\Debug\netcoreapp2.1\Signum.MSBuildTask.dll" "@(IntermediateAssembly)" "$(BaseIntermediateOutputPath)SignumReferences.txt"" ConsoleToMSBuild="false">
30
-
<Output TaskParameter="ConsoleOutput" PropertyName="OutputOfExec" />
31
-
</Exec>
32
-
</Target>
33
26
</Project>
Original file line number Diff line number Diff line change
@@ -99,7 +99,6 @@ export interface TypeEntity extends Entities.Entity {
99
99
cleanName: string;
100
100
namespace: string;
101
101
className: string;
102
-
fullClassName: string;
103
102
}
104
103
105
104
Original file line number Diff line number Diff line change
@@ -33,10 +33,10 @@
33
33
34
34
<ItemGroup>
35
35
<PackageReference Include="Microsoft.AspNetCore.App" />
36
-
<!--<PackageReference Include="Microsoft.TypeScript.MSBuild" Version="3.5.3">
36
+
<PackageReference Include="Microsoft.TypeScript.MSBuild" Version="3.5.3">
37
37
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
38
38
<PrivateAssets>all</PrivateAssets>
39
-
</PackageReference>-->
39
+
</PackageReference>
40
40
</ItemGroup>
41
41
42
42
<ItemGroup>
@@ -45,8 +45,8 @@
45
45
</ItemGroup>
46
46
47
47
<ItemGroup>
48
-
<PackageReference Include="Signum.Analyzer" Version="2.0.0" />
49
-
<!--<PackageReference Include="Signum.TSGenerator" Version="2.0.5" />-->
48
+
<PackageReference Include="Signum.Analyzer" Version="2.3.0" />
49
+
<PackageReference Include="Signum.TSGenerator" Version="2.0.5" />
50
50
</ItemGroup>
51
51
52
52
<ItemGroup>
@@ -63,27 +63,4 @@
63
63
<TypeScriptCompile Include="**\*.tsx" />
64
64
<TypeScriptCompile Include="**\*.ts" />
65
65
</ItemGroup>
66
-
67
-
<!--<Target Name="SignumAfterCompile" AfterTargets="AfterCompile" Outputs="$(TargetPath)">
68
-
<WriteLinesToFile File="$(BaseIntermediateOutputPath)SignumReferences.txt" Lines="@(ReferencePath)" Overwrite="true" Encoding="Unicode" />
69
-
<Exec command="dotnet "D:\Signum\southwind\Framework\Signum.MSBuildTask\bin\Debug\netcoreapp2.1\Signum.MSBuildTask.dll" "@(IntermediateAssembly)" "$(BaseIntermediateOutputPath)SignumReferences.txt"" ConsoleToMSBuild="false">
70
-
<Output TaskParameter="ConsoleOutput" PropertyName="OutputOfExec" />
71
-
</Exec>
72
-
</Target>-->
73
-
74
-
<Target Name="GenerateSignumTS">
75
-
<WriteLinesToFile File="$(BaseIntermediateOutputPath)SignumReferences.txt" Lines="@(ReferencePath)" Overwrite="true" Encoding="Unicode" />
76
-
<WriteLinesToFile File="$(BaseIntermediateOutputPath)SignumContent.txt" Lines="@(Content);@(None)" Overwrite="true" Encoding="Unicode" />
77
-
<Exec command="dotnet "D:\Signum\southwind\Framework\Signum.TSGenerator\bin\Debug\netcoreapp2.1\Signum.TSGenerator.dll" "@(IntermediateAssembly)" "$(BaseIntermediateOutputPath)SignumReferences.txt" "$(BaseIntermediateOutputPath)SignumContent.txt"" ConsoleToMSBuild="false">
78
-
<Output TaskParameter="ConsoleOutput" PropertyName="OutputOfExec" />
79
-
</Exec>
80
-
</Target>
81
-
82
-
<PropertyGroup>
83
-
<CompileTypeScriptDependsOn>
84
-
GenerateSignumTS;
85
-
$(CompileTypeScriptDependsOn);
86
-
</CompileTypeScriptDependsOn>
87
-
<ApplicationIcon />
88
-
</PropertyGroup>
89
66
</Project>
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@
20
20
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.2.0" />
21
21
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="2.2.0" />
22
22
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
23
-
<PackageReference Include="Signum.Analyzer" Version="2.0.0" />
23
+
<PackageReference Include="Signum.Analyzer" Version="2.3.0" />
24
24
<PackageReference Include="xunit" Version="2.4.1" />
25
25
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
26
26
<PrivateAssets>all</PrivateAssets>
@@ -35,7 +35,7 @@
35
35
</ItemGroup>
36
36
37
37
<ItemGroup>
38
-
<!--<PackageReference Include="Signum.MSBuildTask" Version="1.0.3" />-->
38
+
<PackageReference Include="Signum.MSBuildTask" Version="1.0.5" />
39
39
40
40
</ItemGroup>
41
41
@@ -49,11 +49,4 @@
49
49
<ItemGroup>
50
50
<Folder Include="Properties\" />
51
51
</ItemGroup>
52
-
53
-
<Target Name="SignumAfterCompile" AfterTargets="AfterCompile" Outputs="$(TargetPath)">
54
-
<WriteLinesToFile File="$(BaseIntermediateOutputPath)SignumReferences.txt" Lines="@(ReferencePath)" Overwrite="true" Encoding="Unicode" />
55
-
<Exec command="dotnet "D:\Signum\southwind\Framework\Signum.MSBuildTask\bin\x64\Debug\netcoreapp2.1\Signum.MSBuildTask.dll" "@(IntermediateAssembly)" "$(BaseIntermediateOutputPath)SignumReferences.txt"" ConsoleToMSBuild="false">
56
-
<Output TaskParameter="ConsoleOutput" PropertyName="OutputOfExec" />
57
-
</Exec>
58
-
</Target>
59
52
</Project>
Original file line number Diff line number Diff line change
@@ -84,24 +84,23 @@ public ExpressionFieldAttribute(string name)
84
84
}
85
85
}
86
86
87
+
/// <summary>
88
+
/// Marks a property or method for Signum.MSBuildTask to extract the body into and static field with the expression tree.
89
+
/// </summary>
87
90
[System.AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
88
91
public sealed class AutoExpressionFieldAttribute : Attribute
89
92
{
90
-
public AutoExpressionFieldAttribute()
91
-
{
92
-
}
93
93
}
94
94
95
-
96
95
public static class As
97
96
{
98
97
/// <summary>
99
-
/// In Combination with AutoExpressionFieldAttribute, allows the extraction from an Expression field by Signum.MSBuildTask.
98
+
/// In Combination with AutoExpressionFieldAttribute, allows the extraction of 'body' expression into an static field (by Signum.MSBuildTask) so the method can be consumed by the LINQ provider and translated to SQL.
100
99
/// </summary>
101
-
/// <typeparam name="T"></typeparam>
102
-
/// <param name="exp"></param>
100
+
/// <typeparam name="T">return type</typeparam>
101
+
/// <param name="body">The implementation of the property or method</param>
103
102
/// <returns></returns>
104
-
public static T Expression<T>(Expression<Func<T>> exp)
103
+
public static T Expression<T>(Expression<Func<T>> body)
105
104
{
106
105
throw new InvalidOperationException("This method is not meant to be called. Missing reference to Signum.MSBuildTask in this assembly?");
107
106
}
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4