Skip to content

Commit d24d22a

Browse files
Bad wording and example fixes in cache documentation.
1 parent da56a73 commit d24d22a

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

doc/reference/modules/nhibernate_caches.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@
209209
<section id="NHibernate.Caches.SysCache">
210210
<title>SysCache Configuration</title>
211211
<para>
212-
As SysCache relies on <classname>System.Web.Caching.Cache</classname> for the underlying implementation.
213-
Following NHibernate configuration settings are available:
212+
SysCache relies on <classname>System.Web.Caching.Cache</classname> for the underlying implementation.
213+
The following NHibernate configuration settings are available:
214214
</para>
215215

216216
<variablelist>
@@ -265,13 +265,13 @@
265265

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

273273
<para>
274-
Following NHibernate configuration settings are available:
274+
The following NHibernate configuration settings are available:
275275
</para>
276276

277277
<variablelist>
@@ -568,11 +568,11 @@
568568
</section>
569569

570570
<section id="NHibernate.Caches.RtMemoryCache">
571-
<title>Runtime Memory Configuration</title>
571+
<title>RtMemoryCache Configuration</title>
572572
<para>
573-
As runtime memory relies on <classname>System.Runtime.Caching.MemoryCache</classname> for the
573+
RtMemoryCache relies on <classname>System.Runtime.Caching.MemoryCache</classname> for the
574574
underlying implementation.
575-
Following NHibernate configuration settings are available:
575+
The following NHibernate configuration settings are available:
576576
</para>
577577

578578
<variablelist>
@@ -602,14 +602,14 @@
602602
<programlisting><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
603603
<configuration>
604604
<configSections>
605-
<section name="syscache"
606-
type="NHibernate.Caches.SysCache.SysCacheSectionHandler,NHibernate.Caches.SysCache" />
605+
<section name="rtmemorycache"
606+
type="NHibernate.Caches.RtMemoryCache.RtMemoryCacheSectionHandler,NHibernate.Caches.RtMemoryCache" />
607607
</configSections>
608608
609-
<syscache>
609+
<rtmemorycache>
610610
<cache region="foo" expiration="500" />
611611
<cache region="bar" expiration="300" sliding="true" />
612-
</syscache>
612+
</rtmemorycache>
613613
</configuration>]]></programlisting>
614614
</example>
615615
</section>

doc/reference/modules/query_linq.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ using NHibernate.Linq;]]></programlisting>
331331
<sect2 id="querylinq-supportedmethods-string">
332332
<title>Strings</title>
333333
<para>
334-
Following properties and methods are supported on strings:
334+
The following properties and methods are supported on strings:
335335
</para>
336336
<itemizedlist>
337337
<listitem>

0 commit comments

Comments
 (0)