Skip to content

Commit 93e0c8c

Browse files
committed
v1.3.0 + generate docs
1 parent ff3e77e commit 93e0c8c

File tree

58 files changed

+8741
-2893
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+8741
-2893
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# v1.3.0 (03 March 2023)
2+
- [#669](https://github.com/zzzprojects/System.Linq.Dynamic.Core/pull/669) - Methods should only be callable on predefined types [security] contributed by [StefH](https://github.com/StefH)
3+
- [#671](https://github.com/zzzprojects/System.Linq.Dynamic.Core/pull/671) - Add support for DateOnly and TimeOnly [feature] contributed by [StefH](https://github.com/StefH)
4+
- [#672](https://github.com/zzzprojects/System.Linq.Dynamic.Core/pull/672) - Fixed ExpressionParser when WrappedValue-string is used for equals-operator for Enum [bug] contributed by [StefH](https://github.com/StefH)
5+
- [#674](https://github.com/zzzprojects/System.Linq.Dynamic.Core/pull/674) - Stef 668 enum string wrapped contributed by [neilbgr](https://github.com/neilbgr)
6+
- [#676](https://github.com/zzzprojects/System.Linq.Dynamic.Core/pull/676) - Change default setting for PrioritizePropertyOrFieldOverTheType to 'true'. [bug] contributed by [StefH](https://github.com/StefH)
7+
- [#651](https://github.com/zzzprojects/System.Linq.Dynamic.Core/issues/651) - Selecting shadow properties
8+
- [#661](https://github.com/zzzprojects/System.Linq.Dynamic.Core/issues/661) - Question on projection of child object properties in a Select.
9+
- [#667](https://github.com/zzzprojects/System.Linq.Dynamic.Core/issues/667) - DateOnly support [feature]
10+
- [#668](https://github.com/zzzprojects/System.Linq.Dynamic.Core/issues/668) - With UseParameterizedNamesInDynamicQuery, can't compare enum type with String [bug]
11+
- [#675](https://github.com/zzzprojects/System.Linq.Dynamic.Core/issues/675) - Expression does not parse any more 1.2.25 (works in 1.2.24) [bug]
12+
113
# v1.2.25 (05 February 2023)
214
- [#664](https://github.com/zzzprojects/System.Linq.Dynamic.Core/pull/664) - Add config setting for PrioritizePropertyOrFieldOverTheType [feature] contributed by [StefH](https://github.com/StefH)
315
- [#665](https://github.com/zzzprojects/System.Linq.Dynamic.Core/pull/665) - Update AbstractDynamicLinqCustomTypeProvider to exclude null types [bug] contributed by [StefH](https://github.com/StefH)

Generate-ReleaseNotes.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
rem https://github.com/StefH/GitHubReleaseNotes
22

3-
SET version=v1.2.25
3+
SET version=v1.3.0
44

55
GitHubReleaseNotes --output CHANGELOG.md --exclude-labels invalid question documentation wontfix --language en --version %version% --token %GH_TOKEN%

docfx/howto.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
1. choco install docfx -y
22

3-
2. Run powershell script: build-docs.ps1 -serve
3+
2. Run powershell script: ./build-docs.ps1 -serve

docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.AbstractDynamicLinqCustomTypeProvider.html

Lines changed: 41 additions & 40 deletions
Large diffs are not rendered by default.

docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.DefaultDynamicLinqCustomTypeProvider.html

Lines changed: 85 additions & 40 deletions
Large diffs are not rendered by default.

docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.DynamicLinqTypeAttribute.html

Lines changed: 59 additions & 58 deletions
Large diffs are not rendered by default.

docs/api/System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinkCustomTypeProvider.html

Lines changed: 25 additions & 142 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<meta name="viewport" content="width=device-width">
1111
<meta name="title" content="Interface IDynamicLinkCustomTypeProvider
1212
">
13-
<meta name="generator" content="docfx 2.48.1.0">
13+
<meta name="generator" content="docfx 2.59.4.0">
1414

1515
<link rel="shortcut icon" href="../favicon.ico">
1616
<link rel="stylesheet" href="../styles/docfx.vendor.css">
@@ -61,11 +61,11 @@
6161
<div class="container body-content">
6262

6363
<div id="search-results">
64-
<div class="search-list"></div>
64+
<div class="search-list">Search Results for <span></span></div>
6565
<div class="sr-items">
6666
<p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
6767
</div>
68-
<ul id="pagination"></ul>
68+
<ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
6969
</div>
7070
</div>
7171
<div role="main" class="container body-content hide-when-search">
@@ -83,149 +83,31 @@
8383

8484
<h1 id="System_Linq_Dynamic_Core_CustomTypeProviders_IDynamicLinkCustomTypeProvider" data-uid="System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinkCustomTypeProvider" class="text-break">Interface IDynamicLinkCustomTypeProvider
8585
</h1>
86-
<div class="markdown level0 summary"><p>Interface for providing functionality to find custom types for or resolve any type.</p>
86+
<div class="markdown level0 summary"><p>Interface for providing functionality to find custom types for or resolve any type.
87+
Note that this interface will be marked obsolete in the next version. Use <a class="xref" href="System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinqCustomTypeProvider.html">IDynamicLinqCustomTypeProvider</a> instead.</p>
8788
</div>
8889
<div class="markdown level0 conceptual"></div>
90+
<div class="inheritedMembers">
91+
<h5>Inherited Members</h5>
92+
<div>
93+
<a class="xref" href="System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinqCustomTypeProvider.html#System_Linq_Dynamic_Core_CustomTypeProviders_IDynamicLinqCustomTypeProvider_GetCustomTypes">IDynamicLinqCustomTypeProvider.GetCustomTypes()</a>
94+
</div>
95+
<div>
96+
<a class="xref" href="System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinqCustomTypeProvider.html#System_Linq_Dynamic_Core_CustomTypeProviders_IDynamicLinqCustomTypeProvider_GetExtensionMethods">IDynamicLinqCustomTypeProvider.GetExtensionMethods()</a>
97+
</div>
98+
<div>
99+
<a class="xref" href="System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinqCustomTypeProvider.html#System_Linq_Dynamic_Core_CustomTypeProviders_IDynamicLinqCustomTypeProvider_ResolveType_System_String_">IDynamicLinqCustomTypeProvider.ResolveType(String)</a>
100+
</div>
101+
<div>
102+
<a class="xref" href="System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinqCustomTypeProvider.html#System_Linq_Dynamic_Core_CustomTypeProviders_IDynamicLinqCustomTypeProvider_ResolveTypeBySimpleName_System_String_">IDynamicLinqCustomTypeProvider.ResolveTypeBySimpleName(String)</a>
103+
</div>
104+
</div>
89105
<h6><strong>Namespace</strong>: <a class="xref" href="System.Linq.Dynamic.Core.CustomTypeProviders.html">System.Linq.Dynamic.Core.CustomTypeProviders</a></h6>
90106
<h6><strong>Assembly</strong>: System.Linq.Dynamic.Core.dll</h6>
91107
<h5 id="System_Linq_Dynamic_Core_CustomTypeProviders_IDynamicLinkCustomTypeProvider_syntax">Syntax</h5>
92108
<div class="codewrapper">
93-
<pre><code class="lang-csharp hljs">public interface IDynamicLinkCustomTypeProvider</code></pre>
94-
</div>
95-
<h3 id="methods">Methods
96-
</h3>
97-
<span class="small pull-right mobile-hide">
98-
<span class="divider">|</span>
99-
<a href="https://github.com/StefH/System.Linq.Dynamic.Core/new/doxfx/apiSpec/new?filename=System_Linq_Dynamic_Core_CustomTypeProviders_IDynamicLinkCustomTypeProvider_GetCustomTypes.md&amp;value=---%0Auid%3A%20System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinkCustomTypeProvider.GetCustomTypes%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
100-
</span>
101-
<span class="small pull-right mobile-hide">
102-
<a href="https://github.com/StefH/System.Linq.Dynamic.Core/blob/doxfx/src/System.Linq.Dynamic.Core/CustomTypeProviders/IDynamicLinkCustomTypeProvider.cs/#L15">View Source</a>
103-
</span>
104-
<a id="System_Linq_Dynamic_Core_CustomTypeProviders_IDynamicLinkCustomTypeProvider_GetCustomTypes_" data-uid="System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinkCustomTypeProvider.GetCustomTypes*"></a>
105-
<h4 id="System_Linq_Dynamic_Core_CustomTypeProviders_IDynamicLinkCustomTypeProvider_GetCustomTypes" data-uid="System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinkCustomTypeProvider.GetCustomTypes">GetCustomTypes()</h4>
106-
<div class="markdown level1 summary"><p>Returns a list of custom types that System.Linq.Dynamic.Core will understand.</p>
107-
</div>
108-
<div class="markdown level1 conceptual"></div>
109-
<h5 class="decalaration">Declaration</h5>
110-
<div class="codewrapper">
111-
<pre><code class="lang-csharp hljs">HashSet&lt;Type&gt; GetCustomTypes()</code></pre>
112-
</div>
113-
<h5 class="returns">Returns</h5>
114-
<table class="table table-bordered table-striped table-condensed">
115-
<thead>
116-
<tr>
117-
<th>Type</th>
118-
<th>Description</th>
119-
</tr>
120-
</thead>
121-
<tbody>
122-
<tr>
123-
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.hashset-1">HashSet</a>&lt;<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.type">Type</a>&gt;</td>
124-
<td><p>A <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.hashset-1">HashSet&lt;T&gt;</a> list of custom types.</p>
125-
</td>
126-
</tr>
127-
</tbody>
128-
</table>
129-
<span class="small pull-right mobile-hide">
130-
<span class="divider">|</span>
131-
<a href="https://github.com/StefH/System.Linq.Dynamic.Core/new/doxfx/apiSpec/new?filename=System_Linq_Dynamic_Core_CustomTypeProviders_IDynamicLinkCustomTypeProvider_ResolveType_System_String_.md&amp;value=---%0Auid%3A%20System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinkCustomTypeProvider.ResolveType(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
132-
</span>
133-
<span class="small pull-right mobile-hide">
134-
<a href="https://github.com/StefH/System.Linq.Dynamic.Core/blob/doxfx/src/System.Linq.Dynamic.Core/CustomTypeProviders/IDynamicLinkCustomTypeProvider.cs/#L22">View Source</a>
135-
</span>
136-
<a id="System_Linq_Dynamic_Core_CustomTypeProviders_IDynamicLinkCustomTypeProvider_ResolveType_" data-uid="System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinkCustomTypeProvider.ResolveType*"></a>
137-
<h4 id="System_Linq_Dynamic_Core_CustomTypeProviders_IDynamicLinkCustomTypeProvider_ResolveType_System_String_" data-uid="System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinkCustomTypeProvider.ResolveType(System.String)">ResolveType(String)</h4>
138-
<div class="markdown level1 summary"><p>Resolve any type by fullname which is registered in the current application domain.</p>
139-
</div>
140-
<div class="markdown level1 conceptual"></div>
141-
<h5 class="decalaration">Declaration</h5>
142-
<div class="codewrapper">
143-
<pre><code class="lang-csharp hljs">Type ResolveType([NotNull] string typeName)</code></pre>
144-
</div>
145-
<h5 class="parameters">Parameters</h5>
146-
<table class="table table-bordered table-striped table-condensed">
147-
<thead>
148-
<tr>
149-
<th>Type</th>
150-
<th>Name</th>
151-
<th>Description</th>
152-
</tr>
153-
</thead>
154-
<tbody>
155-
<tr>
156-
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
157-
<td><span class="parametername">typeName</span></td>
158-
<td><p>The typename to resolve.</p>
159-
</td>
160-
</tr>
161-
</tbody>
162-
</table>
163-
<h5 class="returns">Returns</h5>
164-
<table class="table table-bordered table-striped table-condensed">
165-
<thead>
166-
<tr>
167-
<th>Type</th>
168-
<th>Description</th>
169-
</tr>
170-
</thead>
171-
<tbody>
172-
<tr>
173-
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.type">Type</a></td>
174-
<td><p>A resolved <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.type">Type</a> or null when not found.</p>
175-
</td>
176-
</tr>
177-
</tbody>
178-
</table>
179-
<span class="small pull-right mobile-hide">
180-
<span class="divider">|</span>
181-
<a href="https://github.com/StefH/System.Linq.Dynamic.Core/new/doxfx/apiSpec/new?filename=System_Linq_Dynamic_Core_CustomTypeProviders_IDynamicLinkCustomTypeProvider_ResolveTypeBySimpleName_System_String_.md&amp;value=---%0Auid%3A%20System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinkCustomTypeProvider.ResolveTypeBySimpleName(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
182-
</span>
183-
<span class="small pull-right mobile-hide">
184-
<a href="https://github.com/StefH/System.Linq.Dynamic.Core/blob/doxfx/src/System.Linq.Dynamic.Core/CustomTypeProviders/IDynamicLinkCustomTypeProvider.cs/#L29">View Source</a>
185-
</span>
186-
<a id="System_Linq_Dynamic_Core_CustomTypeProviders_IDynamicLinkCustomTypeProvider_ResolveTypeBySimpleName_" data-uid="System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinkCustomTypeProvider.ResolveTypeBySimpleName*"></a>
187-
<h4 id="System_Linq_Dynamic_Core_CustomTypeProviders_IDynamicLinkCustomTypeProvider_ResolveTypeBySimpleName_System_String_" data-uid="System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinkCustomTypeProvider.ResolveTypeBySimpleName(System.String)">ResolveTypeBySimpleName(String)</h4>
188-
<div class="markdown level1 summary"><p>Resolve any type by the simple name which is registered in the current application domain.</p>
189-
</div>
190-
<div class="markdown level1 conceptual"></div>
191-
<h5 class="decalaration">Declaration</h5>
192-
<div class="codewrapper">
193-
<pre><code class="lang-csharp hljs">Type ResolveTypeBySimpleName([NotNull] string simpleTypeName)</code></pre>
109+
<pre><code class="lang-csharp hljs">public interface IDynamicLinkCustomTypeProvider : IDynamicLinqCustomTypeProvider</code></pre>
194110
</div>
195-
<h5 class="parameters">Parameters</h5>
196-
<table class="table table-bordered table-striped table-condensed">
197-
<thead>
198-
<tr>
199-
<th>Type</th>
200-
<th>Name</th>
201-
<th>Description</th>
202-
</tr>
203-
</thead>
204-
<tbody>
205-
<tr>
206-
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
207-
<td><span class="parametername">simpleTypeName</span></td>
208-
<td><p>The typename to resolve.</p>
209-
</td>
210-
</tr>
211-
</tbody>
212-
</table>
213-
<h5 class="returns">Returns</h5>
214-
<table class="table table-bordered table-striped table-condensed">
215-
<thead>
216-
<tr>
217-
<th>Type</th>
218-
<th>Description</th>
219-
</tr>
220-
</thead>
221-
<tbody>
222-
<tr>
223-
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.type">Type</a></td>
224-
<td><p>A resolved <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.type">Type</a> or null when not found.</p>
225-
</td>
226-
</tr>
227-
</tbody>
228-
</table>
229111
</article>
230112
</div>
231113

@@ -234,15 +116,16 @@ <h5 class="returns">Returns</h5>
234116
<div class="contribution">
235117
<ul class="nav">
236118
<li>
237-
<a href="https://github.com/StefH/System.Linq.Dynamic.Core/new/doxfx/apiSpec/new?filename=System_Linq_Dynamic_Core_CustomTypeProviders_IDynamicLinkCustomTypeProvider.md&amp;value=---%0Auid%3A%20System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinkCustomTypeProvider%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
119+
<a href="https://github.com/StefH/System.Linq.Dynamic.Core/new/master/apiSpec/new?filename=System_Linq_Dynamic_Core_CustomTypeProviders_IDynamicLinkCustomTypeProvider.md&amp;value=---%0Auid%3A%20System.Linq.Dynamic.Core.CustomTypeProviders.IDynamicLinkCustomTypeProvider%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
238120
</li>
239121
<li>
240-
<a href="https://github.com/StefH/System.Linq.Dynamic.Core/blob/doxfx/src/System.Linq.Dynamic.Core/CustomTypeProviders/IDynamicLinkCustomTypeProvider.cs/#L9" class="contribution-link">View Source</a>
122+
<a href="https://github.com/StefH/System.Linq.Dynamic.Core/blob/master/src/System.Linq.Dynamic.Core/CustomTypeProviders/IDynamicLinkCustomTypeProvider.cs/#L7" class="contribution-link">View Source</a>
241123
</li>
242124
</ul>
243125
</div>
244126
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
245-
<!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
127+
<h5>In This Article</h5>
128+
<div></div>
246129
</nav>
247130
</div>
248131
</div>

0 commit comments

Comments
 (0)