Skip to content

Bad wording and example fixes in cache documentation. #1424

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 5, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions doc/reference/modules/nhibernate_caches.xml
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@
<section id="NHibernate.Caches.SysCache">
<title>SysCache Configuration</title>
<para>
As SysCache relies on <classname>System.Web.Caching.Cache</classname> for the underlying implementation.
Following NHibernate configuration settings are available:
SysCache relies on <classname>System.Web.Caching.Cache</classname> for the underlying implementation.
The following NHibernate configuration settings are available:
</para>

<variablelist>
Expand Down Expand Up @@ -265,13 +265,13 @@

<para>
SysCache2 can use SqlCacheDependencies to invalidate cache regions when data in an underlying SQL Server
table or query changes. Query dependencies are only available for SQL Server 2005. To use the cache
table or query changes. Query dependencies are only available for SQL Server 2005 or higher. To use the cache
provider, the application must be setup and configured to support SQL notifications as described in the
MSDN documentation.
</para>

<para>
Following NHibernate configuration settings are available:
The following NHibernate configuration settings are available:
</para>

<variablelist>
Expand Down Expand Up @@ -568,11 +568,11 @@
</section>

<section id="NHibernate.Caches.RtMemoryCache">
<title>Runtime Memory Configuration</title>
<title>RtMemoryCache Configuration</title>
<para>
As runtime memory relies on <classname>System.Runtime.Caching.MemoryCache</classname> for the
RtMemoryCache relies on <classname>System.Runtime.Caching.MemoryCache</classname> for the
underlying implementation.
Following NHibernate configuration settings are available:
The following NHibernate configuration settings are available:
</para>

<variablelist>
Expand Down Expand Up @@ -602,14 +602,14 @@
<programlisting><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="syscache"
type="NHibernate.Caches.SysCache.SysCacheSectionHandler,NHibernate.Caches.SysCache" />
<section name="rtmemorycache"
type="NHibernate.Caches.RtMemoryCache.RtMemoryCacheSectionHandler,NHibernate.Caches.RtMemoryCache" />
</configSections>

<syscache>
<rtmemorycache>
<cache region="foo" expiration="500" />
<cache region="bar" expiration="300" sliding="true" />
</syscache>
</rtmemorycache>
</configuration>]]></programlisting>
</example>
</section>
Expand Down
2 changes: 1 addition & 1 deletion doc/reference/modules/query_linq.xml
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ using NHibernate.Linq;]]></programlisting>
<sect2 id="querylinq-supportedmethods-string">
<title>Strings</title>
<para>
Following properties and methods are supported on strings:
The following properties and methods are supported on strings:
</para>
<itemizedlist>
<listitem>
Expand Down