Przeglądaj źródła

Merge pull request #9 from LithWang/master

3.1.3-preview
Lith 7 miesięcy temu
rodzic
commit
3758ba63c1
3 zmienionych plików z 15 dodań i 10 usunięć
  1. 10 1
      src/Versions.props
  2. 3 3
      src/Vit.Linq/LinqHelp.cs
  3. 2 6
      src/Vit.Linq/Vit.Linq.csproj

+ 10 - 1
src/Versions.props

@@ -1,5 +1,14 @@
 <Project>
     <PropertyGroup>
-        <Version>3.1.2</Version>
+        <Version>3.1.3-preview</Version>
+    </PropertyGroup>
+
+    <PropertyGroup>
+        <Authors>Lith</Authors>
+        <PackageProjectUrl>https://github.com/Vit-Orm/Vit.Linq</PackageProjectUrl>
+    </PropertyGroup>
+
+    <PropertyGroup>
+        <DocumentationFile>bin\Debug\$(TargetFramework)\$(MSBuildProjectName).xml</DocumentationFile>
     </PropertyGroup>
 </Project>

+ 3 - 3
src/Vit.Linq/LinqHelp.cs

@@ -80,9 +80,9 @@ namespace Vit.Linq
 
         public static Expression<Func<T, object>> GetFieldExpression<T>(string fieldPath)
         {
-            var parammeter = Expression.Parameter(typeof(T));
-            Expression memberExp = GetFieldMemberExpression(parammeter, fieldPath);
-            var lambda = Expression.Lambda(memberExp, parammeter).Compile();
+            var parameter = Expression.Parameter(typeof(T));
+            Expression memberExp = GetFieldMemberExpression(parameter, fieldPath);
+            var lambda = Expression.Lambda(memberExp, parameter).Compile();
             return t => lambda.DynamicInvoke(t);
         }
 

+ 2 - 6
src/Vit.Linq/Vit.Linq.csproj

@@ -11,17 +11,13 @@
     </PropertyGroup>
 
     <PropertyGroup>
-        <Authors>Lith</Authors>
         <Description>Linq Extension</Description>
-        <PackageProjectUrl>https://github.com/Vit-Orm/Vit.Linq</PackageProjectUrl>
-        <PackageReadmeFile>README.md</PackageReadmeFile>
-        <PackageTags>linq</PackageTags>
+        <PackageTags>linq vit</PackageTags>
     </PropertyGroup>
 
     <PropertyGroup>
-        <DocumentationFile>bin\Debug\netstandard2.0\Vit.Linq.xml</DocumentationFile>
+        <PackageReadmeFile>README.md</PackageReadmeFile>
     </PropertyGroup>
-
     <ItemGroup>
         <None Include="..\..\README.md">
             <Pack>True</Pack>