chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r785856 - /websites/staging/chemistry/trunk/content/getting-started-with-dotcmis.html
Date Mon, 21 Feb 2011 09:38:17 GMT
Author: buildbot
Date: Mon Feb 21 09:38:17 2011
New Revision: 785856

Log:
Staging update by buildbot

Modified:
    websites/staging/chemistry/trunk/content/getting-started-with-dotcmis.html

Modified: websites/staging/chemistry/trunk/content/getting-started-with-dotcmis.html
==============================================================================
--- websites/staging/chemistry/trunk/content/getting-started-with-dotcmis.html (original)
+++ websites/staging/chemistry/trunk/content/getting-started-with-dotcmis.html Mon Feb 21 09:38:17 2011
@@ -176,30 +176,30 @@ Apache Chemistry - Getting started with 
 <h2 id="connecting_to_a_cmis_atompub_endpoint">Connecting to a CMIS AtomPub endpoint</h2>
 <p><a name="GettingstartedwithDotCMIS-Connectingtothefirstrepository"></a></p>
 <h3 id="connecting_to_the_first_repository">Connecting to the first repository</h3>
-<p>:::C#
-    Dictionary<string, string> parameters = new Dictionary<string, string>();</p>
-<div class="codehilite"><pre><span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">BindingType</span><span class="p">]</span> <span class="o">=</span> <span class="n">BindingType</span><span class="o">.</span><span class="n">AtomPub</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">AtomPubUrl</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;serviceDocumentPath&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">User</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;username&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">Password</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;password&gt;&quot;</span><span class="p">;</span>
+<div class="codehilite"><pre><span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span> <span class="n">parameters</span> <span class="o">=</span> <span class="n">new</span> <span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span><span class="p">();</span>
 
-<span class="n">SessionFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">SessionFactory</span><span class="o">.</span><span class="n">NewInstance</span><span class="p">();</span>
-<span class="n">ISession</span> <span class="n">session</span> <span class="o">=</span> <span class="n">factory</span><span class="o">.</span><span class="n">GetRepositories</span><span class="p">(</span><span class="n">parameters</span><span class="p">)[</span><span class="mi">0</span><span class="p">]</span><span class="o">.</span><span class="n">CreateSession</span><span class="p">();</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">BindingType</span><span class="p">]</span> <span class="o">=</span> <span class="n">BindingType</span><span class="p">.</span><span class="n">AtomPub</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">AtomPubUrl</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;serviceDocumentPath&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">User</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;username&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">Password</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;password&gt;&quot;</span><span class="p">;</span>
+
+<span class="n">SessionFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">SessionFactory</span><span class="p">.</span><span class="n">NewInstance</span><span class="p">();</span>
+<span class="n">ISession</span> <span class="n">session</span> <span class="o">=</span> <span class="n">factory</span><span class="p">.</span><span class="n">GetRepositories</span><span class="p">(</span><span class="n">parameters</span><span class="p">)[</span><span class="mi">0</span><span class="p">].</span><span class="n">CreateSession</span><span class="p">();</span>
 </pre></div>
 
 
 <p><a name="GettingstartedwithDotCMIS-Connectingtoaspecificrepository"></a></p>
 <h3 id="connecting_to_a_specific_repository">Connecting to a specific repository</h3>
-<p>:::C#
-    Dictionary<string, string> parameters = new Dictionary<string, string>();</p>
-<div class="codehilite"><pre><span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">BindingType</span><span class="p">]</span> <span class="o">=</span> <span class="n">BindingType</span><span class="o">.</span><span class="n">AtomPub</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">AtomPubUrl</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;serviceDocumentPath&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">User</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;username&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">Password</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;password&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">RepositoryId</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;repositoryId&gt;&quot;</span><span class="p">;</span>
+<div class="codehilite"><pre><span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span> <span class="n">parameters</span> <span class="o">=</span> <span class="n">new</span> <span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span><span class="p">();</span>
+
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">BindingType</span><span class="p">]</span> <span class="o">=</span> <span class="n">BindingType</span><span class="p">.</span><span class="n">AtomPub</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">AtomPubUrl</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;serviceDocumentPath&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">User</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;username&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">Password</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;password&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">RepositoryId</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;repositoryId&gt;&quot;</span><span class="p">;</span>
 
-<span class="n">SessionFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">SessionFactory</span><span class="o">.</span><span class="n">NewInstance</span><span class="p">();</span>
-<span class="n">ISession</span> <span class="n">session</span> <span class="o">=</span> <span class="n">factory</span><span class="o">.</span><span class="n">CreateSession</span><span class="p">(</span><span class="n">parameters</span><span class="p">);</span>
+<span class="n">SessionFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">SessionFactory</span><span class="p">.</span><span class="n">NewInstance</span><span class="p">();</span>
+<span class="n">ISession</span> <span class="n">session</span> <span class="o">=</span> <span class="n">factory</span><span class="p">.</span><span class="n">CreateSession</span><span class="p">(</span><span class="n">parameters</span><span class="p">);</span>
 </pre></div>
 
 
@@ -207,153 +207,153 @@ Apache Chemistry - Getting started with 
 <h2 id="connecting_to_a_cmis_web_services_endpoint">Connecting to a CMIS Web Services endpoint</h2>
 <p><a name="GettingstartedwithDotCMIS-Connectingtothefirstrepository"></a></p>
 <h3 id="connecting_to_the_first_repository_1">Connecting to the first repository</h3>
-<p>:::C#
-    Dictionary<string, string> parameters = new Dictionary<string, string>();</p>
-<div class="codehilite"><pre><span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">BindingType</span><span class="p">]</span> <span class="o">=</span> <span class="n">BindingType</span><span class="o">.</span><span class="n">WebServices</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WebServicesRepositoryService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;RepositoryServiceWSDL&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WebServicesAclService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;AclServiceWSDL&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WebServicesDiscoveryService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;DiscoveryServiceWSDL&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WebServicesMultifilingService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;MultifilingServiceWSDL&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WebServicesNavigationService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;NavigationServiceWSDL&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WebServicesObjectService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;ObjectServiceWSDL&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WebServicesPolicyService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;PolicyServiceWSDL&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WebServicesRelationshipService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;RelationshipServiceWSDL&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WebServicesVersioningService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;VersioningServiceWSDL&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">User</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;username&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">Password</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;password&gt;&quot;</span><span class="p">;</span>
+<div class="codehilite"><pre><span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span> <span class="n">parameters</span> <span class="o">=</span> <span class="n">new</span> <span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span><span class="p">();</span>
 
-<span class="n">SessionFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">SessionFactory</span><span class="o">.</span><span class="n">NewInstance</span><span class="p">();</span>
-<span class="n">ISession</span> <span class="n">session</span> <span class="o">=</span> <span class="n">factory</span><span class="o">.</span><span class="n">GetRepositories</span><span class="p">(</span><span class="n">parameters</span><span class="p">)[</span><span class="mi">0</span><span class="p">]</span><span class="o">.</span><span class="n">CreateSession</span><span class="p">();</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">BindingType</span><span class="p">]</span> <span class="o">=</span> <span class="n">BindingType</span><span class="p">.</span><span class="n">WebServices</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesRepositoryService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;RepositoryServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesAclService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;AclServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesDiscoveryService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;DiscoveryServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesMultifilingService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;MultifilingServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesNavigationService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;NavigationServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesObjectService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;ObjectServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesPolicyService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;PolicyServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesRelationshipService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;RelationshipServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesVersioningService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;VersioningServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">User</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;username&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">Password</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;password&gt;&quot;</span><span class="p">;</span>
+
+<span class="n">SessionFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">SessionFactory</span><span class="p">.</span><span class="n">NewInstance</span><span class="p">();</span>
+<span class="n">ISession</span> <span class="n">session</span> <span class="o">=</span> <span class="n">factory</span><span class="p">.</span><span class="n">GetRepositories</span><span class="p">(</span><span class="n">parameters</span><span class="p">)[</span><span class="mi">0</span><span class="p">].</span><span class="n">CreateSession</span><span class="p">();</span>
 </pre></div>
 
 
 <p><a name="GettingstartedwithDotCMIS-Connectingtoaspecificrepository"></a></p>
 <h3 id="connecting_to_a_specific_repository_1">Connecting to a specific repository</h3>
-<p>:::C#
-    Dictionary<string, string> parameters = new Dictionary<string, string>();</p>
-<div class="codehilite"><pre><span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">BindingType</span><span class="p">]</span> <span class="o">=</span> <span class="n">BindingType</span><span class="o">.</span><span class="n">WebServices</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WebServicesRepositoryService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;RepositoryServiceWSDL&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WebServicesAclService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;AclServiceWSDL&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WebServicesDiscoveryService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;DiscoveryServiceWSDL&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WebServicesMultifilingService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;MultifilingServiceWSDL&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WebServicesNavigationService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;NavigationServiceWSDL&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WebServicesObjectService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;ObjectServiceWSDL&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WebServicesPolicyService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;PolicyServiceWSDL&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WebServicesRelationshipService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;RelationshipServiceWSDL&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WebServicesVersioningService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;VersioningServiceWSDL&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">User</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;username&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">Password</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;password&gt;&quot;</span><span class="p">;</span>
-<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">RepositoryId</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;repositoryId&gt;&quot;</span><span class="p">;</span>
+<div class="codehilite"><pre><span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span> <span class="n">parameters</span> <span class="o">=</span> <span class="n">new</span> <span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span><span class="p">();</span>
+
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">BindingType</span><span class="p">]</span> <span class="o">=</span> <span class="n">BindingType</span><span class="p">.</span><span class="n">WebServices</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesRepositoryService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;RepositoryServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesAclService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;AclServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesDiscoveryService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;DiscoveryServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesMultifilingService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;MultifilingServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesNavigationService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;NavigationServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesObjectService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;ObjectServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesPolicyService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;PolicyServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesRelationshipService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;RelationshipServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">WebServicesVersioningService</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;http://&lt;host&gt;/&lt;VersioningServiceWSDL&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">User</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;username&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">Password</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;password&gt;&quot;</span><span class="p">;</span>
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="p">.</span><span class="n">RepositoryId</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;&lt;repositoryId&gt;&quot;</span><span class="p">;</span>
 
-<span class="n">SessionFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">SessionFactory</span><span class="o">.</span><span class="n">NewInstance</span><span class="p">();</span>
-<span class="n">ISession</span> <span class="n">session</span> <span class="o">=</span> <span class="n">factory</span><span class="o">.</span><span class="n">CreateSession</span><span class="p">(</span><span class="n">parameters</span><span class="p">);</span>
+<span class="n">SessionFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">SessionFactory</span><span class="p">.</span><span class="n">NewInstance</span><span class="p">();</span>
+<span class="n">ISession</span> <span class="n">session</span> <span class="o">=</span> <span class="n">factory</span><span class="p">.</span><span class="n">CreateSession</span><span class="p">(</span><span class="n">parameters</span><span class="p">);</span>
 </pre></div>
 
 
 <p><a name="GettingstartedwithDotCMIS-Listingfolderchildren"></a></p>
 <h2 id="listing_folder_children">Listing folder children</h2>
-<p>:::C#
-    /// get the root folder
-    IFolder rootFolder = session.GetRootFolder();</p>
-<div class="codehilite"><pre><span class="sr">//</span> <span class="n">list</span> <span class="n">all</span> <span class="n">children</span>
-<span class="k">foreach</span> <span class="p">(</span><span class="n">ICmisObject</span> <span class="n">cmisObject</span> <span class="n">in</span> <span class="n">rootFolder</span><span class="o">.</span><span class="n">GetChildren</span><span class="p">())</span>
+<div class="codehilite"><pre><span class="c1">/// get the root folder</span>
+<span class="n">IFolder</span> <span class="n">rootFolder</span> <span class="o">=</span> <span class="n">session</span><span class="p">.</span><span class="n">GetRootFolder</span><span class="p">();</span>
+
+<span class="c1">// list all children</span>
+<span class="n">foreach</span> <span class="p">(</span><span class="n">ICmisObject</span> <span class="n">cmisObject</span> <span class="n">in</span> <span class="n">rootFolder</span><span class="p">.</span><span class="n">GetChildren</span><span class="p">())</span>
 <span class="p">{</span>
-    <span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="n">cmisObject</span><span class="o">.</span><span class="n">Name</span><span class="p">);</span>
+    <span class="n">Console</span><span class="p">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="n">cmisObject</span><span class="p">.</span><span class="n">Name</span><span class="p">);</span>
 <span class="p">}</span>
 
-<span class="sr">//</span> <span class="n">get</span> <span class="n">a</span> <span class="n">page</span>
-<span class="n">IItemEnumerable</span><span class="sr">&lt;ICmisObject&gt;</span> <span class="n">children</span> <span class="o">=</span> <span class="n">rootFolder</span><span class="o">.</span><span class="n">GetChildren</span><span class="p">();</span>
-<span class="n">IItemEnumerable</span><span class="sr">&lt;ICmisObject&gt;</span> <span class="n">page</span> <span class="o">=</span> <span class="n">children</span><span class="o">.</span><span class="n">SkipTo</span><span class="p">(</span><span class="mi">20</span><span class="p">)</span><span class="o">.</span><span class="n">GetPage</span><span class="p">(</span><span class="mi">10</span><span class="p">);</span> <span class="sr">//</span> <span class="n">children</span> <span class="mi">20</span> <span class="n">to</span> <span class="mi">30</span>
+<span class="c1">// get a page</span>
+<span class="n">IItemEnumerable</span><span class="o">&lt;</span><span class="n">ICmisObject</span><span class="o">&gt;</span> <span class="n">children</span> <span class="o">=</span> <span class="n">rootFolder</span><span class="p">.</span><span class="n">GetChildren</span><span class="p">();</span>
+<span class="n">IItemEnumerable</span><span class="o">&lt;</span><span class="n">ICmisObject</span><span class="o">&gt;</span> <span class="n">page</span> <span class="o">=</span> <span class="n">children</span><span class="p">.</span><span class="n">SkipTo</span><span class="p">(</span><span class="mi">20</span><span class="p">).</span><span class="n">GetPage</span><span class="p">(</span><span class="mi">10</span><span class="p">);</span> <span class="c1">// children 20 to 30</span>
 
-<span class="k">foreach</span> <span class="p">(</span><span class="n">ICmisObject</span> <span class="n">cmisObject</span> <span class="n">in</span> <span class="n">page</span><span class="p">)</span>
+<span class="n">foreach</span> <span class="p">(</span><span class="n">ICmisObject</span> <span class="n">cmisObject</span> <span class="n">in</span> <span class="n">page</span><span class="p">)</span>
 <span class="p">{</span>
-    <span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="n">cmisObject</span><span class="o">.</span><span class="n">Name</span><span class="p">);</span>
+    <span class="n">Console</span><span class="p">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="n">cmisObject</span><span class="p">.</span><span class="n">Name</span><span class="p">);</span>
 <span class="p">}</span>
 </pre></div>
 
 
 <p><a name="GettingstartedwithDotCMIS-Fetchingadocument"></a></p>
 <h2 id="fetching_a_document">Fetching a document</h2>
-<p>:::C#
-    IObjectId id = session.CreateObjectId("12345678");
-    IDocument doc = session.GetObject(id) as IDocument;</p>
-<div class="codehilite"><pre><span class="sr">//</span> <span class="n">properties</span>
-<span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="n">doc</span><span class="o">.</span><span class="n">Name</span><span class="p">);</span>
-<span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="n">doc</span><span class="o">.</span><span class="n">GetPropertyValue</span><span class="p">(</span><span class="s">&quot;my:property&quot;</span><span class="p">));</span>
+<div class="codehilite"><pre><span class="n">IObjectId</span> <span class="n">id</span> <span class="o">=</span> <span class="n">session</span><span class="p">.</span><span class="n">CreateObjectId</span><span class="p">(</span><span class="s">&quot;12345678&quot;</span><span class="p">);</span>
+<span class="n">IDocument</span> <span class="n">doc</span> <span class="o">=</span> <span class="n">session</span><span class="p">.</span><span class="n">GetObject</span><span class="p">(</span><span class="n">id</span><span class="p">)</span> <span class="n">as</span> <span class="n">IDocument</span><span class="p">;</span>
+
+<span class="c1">// properties</span>
+<span class="n">Console</span><span class="p">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="n">doc</span><span class="p">.</span><span class="n">Name</span><span class="p">);</span>
+<span class="n">Console</span><span class="p">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="n">doc</span><span class="p">.</span><span class="n">GetPropertyValue</span><span class="p">(</span><span class="s">&quot;my:property&quot;</span><span class="p">));</span>
 
 <span class="n">IProperty</span> <span class="n">myProperty</span> <span class="o">=</span> <span class="n">doc</span><span class="p">[</span><span class="s">&quot;my:property&quot;</span><span class="p">];</span>
-<span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;Id:    &quot;</span> <span class="o">+</span> <span class="n">myProperty</span><span class="o">.</span><span class="n">Id</span><span class="p">);</span>
-<span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;Value: &quot;</span> <span class="o">+</span> <span class="n">myProperty</span><span class="o">.</span><span class="n">Value</span><span class="p">);</span>
-<span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;Type:  &quot;</span> <span class="o">+</span> <span class="n">myProperty</span><span class="o">.</span><span class="n">PropertyType</span><span class="p">);</span>
-
-<span class="sr">//</span> <span class="n">content</span>
-<span class="n">IContentStream</span> <span class="n">contentStream</span> <span class="o">=</span> <span class="n">doc</span><span class="o">.</span><span class="n">GetContentStream</span><span class="p">();</span>
-<span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;Filename:   &quot;</span> <span class="o">+</span> <span class="n">contentStream</span><span class="o">.</span><span class="n">FileName</span><span class="p">);</span>
-<span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;MIME type:  &quot;</span> <span class="o">+</span> <span class="n">contentStream</span><span class="o">.</span><span class="n">MimeType</span><span class="p">);</span>
-<span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;Has stream: &quot;</span> <span class="o">+</span> <span class="p">(</span><span class="n">contentStream</span><span class="o">.</span><span class="n">Stream</span> <span class="o">!=</span> <span class="n">null</span><span class="p">));</span>
+<span class="n">Console</span><span class="p">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;Id:    &quot;</span> <span class="o">+</span> <span class="n">myProperty</span><span class="p">.</span><span class="n">Id</span><span class="p">);</span>
+<span class="n">Console</span><span class="p">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;Value: &quot;</span> <span class="o">+</span> <span class="n">myProperty</span><span class="p">.</span><span class="n">Value</span><span class="p">);</span>
+<span class="n">Console</span><span class="p">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;Type:  &quot;</span> <span class="o">+</span> <span class="n">myProperty</span><span class="p">.</span><span class="n">PropertyType</span><span class="p">);</span>
+
+<span class="c1">// content</span>
+<span class="n">IContentStream</span> <span class="n">contentStream</span> <span class="o">=</span> <span class="n">doc</span><span class="p">.</span><span class="n">GetContentStream</span><span class="p">();</span>
+<span class="n">Console</span><span class="p">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;Filename:   &quot;</span> <span class="o">+</span> <span class="n">contentStream</span><span class="p">.</span><span class="n">FileName</span><span class="p">);</span>
+<span class="n">Console</span><span class="p">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;MIME type:  &quot;</span> <span class="o">+</span> <span class="n">contentStream</span><span class="p">.</span><span class="n">MimeType</span><span class="p">);</span>
+<span class="n">Console</span><span class="p">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;Has stream: &quot;</span> <span class="o">+</span> <span class="p">(</span><span class="n">contentStream</span><span class="p">.</span><span class="n">Stream</span> <span class="o">!=</span> <span class="n">null</span><span class="p">));</span>
 </pre></div>
 
 
 <p><a name="GettingstartedwithDotCMIS-Creatingadocument"></a></p>
 <h2 id="creating_a_document">Creating a document</h2>
-<p>:::C#
-    IFolder folder = ...</p>
-<div class="codehilite"><pre><span class="n">IDictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">object</span><span class="o">&gt;</span> <span class="n">properties</span> <span class="o">=</span> <span class="k">new</span> <span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">object</span><span class="o">&gt;</span><span class="p">();</span>
-<span class="n">properties</span><span class="p">[</span><span class="n">PropertyIds</span><span class="o">.</span><span class="n">Name</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;Hello World Document&quot;</span><span class="p">;</span>
-<span class="n">properties</span><span class="p">[</span><span class="n">PropertyIds</span><span class="o">.</span><span class="n">ObjectTypeId</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;cmis:document&quot;</span><span class="p">;</span>
-
-<span class="n">byte</span><span class="o">[]</span> <span class="n">content</span> <span class="o">=</span> <span class="n">UTF8Encoding</span><span class="o">.</span><span class="n">UTF8</span><span class="o">.</span><span class="n">GetBytes</span><span class="p">(</span><span class="s">&quot;Hello World!&quot;</span><span class="p">);</span>
-
-<span class="n">ContentStream</span> <span class="n">contentStream</span> <span class="o">=</span> <span class="k">new</span> <span class="n">ContentStream</span><span class="p">();</span>
-<span class="n">contentStream</span><span class="o">.</span><span class="n">FileName</span> <span class="o">=</span> <span class="s">&quot;hello-world.txt&quot;</span><span class="p">;</span>
-<span class="n">contentStream</span><span class="o">.</span><span class="n">MimeType</span> <span class="o">=</span> <span class="s">&quot;text/plain&quot;</span><span class="p">;</span>
-<span class="n">contentStream</span><span class="o">.</span><span class="n">Length</span> <span class="o">=</span> <span class="n">content</span><span class="o">.</span><span class="n">Length</span><span class="p">;</span>
-<span class="n">contentStream</span><span class="o">.</span><span class="n">Stream</span> <span class="o">=</span> <span class="k">new</span> <span class="n">MemoryStream</span><span class="p">(</span><span class="n">content</span><span class="p">);</span>
+<div class="codehilite"><pre><span class="n">IFolder</span> <span class="n">folder</span> <span class="o">=</span> <span class="p">...</span>
+
+<span class="n">IDictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">object</span><span class="o">&gt;</span> <span class="n">properties</span> <span class="o">=</span> <span class="n">new</span> <span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">object</span><span class="o">&gt;</span><span class="p">();</span>
+<span class="n">properties</span><span class="p">[</span><span class="n">PropertyIds</span><span class="p">.</span><span class="n">Name</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;Hello World Document&quot;</span><span class="p">;</span>
+<span class="n">properties</span><span class="p">[</span><span class="n">PropertyIds</span><span class="p">.</span><span class="n">ObjectTypeId</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;cmis:document&quot;</span><span class="p">;</span>
 
-<span class="n">IDocument</span> <span class="n">doc</span> <span class="o">=</span> <span class="n">folder</span><span class="o">.</span><span class="n">CreateDocument</span><span class="p">(</span><span class="n">properties</span><span class="p">,</span> <span class="n">contentStream</span><span class="p">,</span> <span class="n">null</span><span class="p">);</span>
+<span class="n">byte</span><span class="p">[]</span> <span class="n">content</span> <span class="o">=</span> <span class="n">UTF8Encoding</span><span class="p">.</span><span class="n">UTF8</span><span class="p">.</span><span class="n">GetBytes</span><span class="p">(</span><span class="s">&quot;Hello World!&quot;</span><span class="p">);</span>
+
+<span class="n">ContentStream</span> <span class="n">contentStream</span> <span class="o">=</span> <span class="n">new</span> <span class="n">ContentStream</span><span class="p">();</span>
+<span class="n">contentStream</span><span class="p">.</span><span class="n">FileName</span> <span class="o">=</span> <span class="s">&quot;hello-world.txt&quot;</span><span class="p">;</span>
+<span class="n">contentStream</span><span class="p">.</span><span class="n">MimeType</span> <span class="o">=</span> <span class="s">&quot;text/plain&quot;</span><span class="p">;</span>
+<span class="n">contentStream</span><span class="p">.</span><span class="n">Length</span> <span class="o">=</span> <span class="n">content</span><span class="p">.</span><span class="n">Length</span><span class="p">;</span>
+<span class="n">contentStream</span><span class="p">.</span><span class="n">Stream</span> <span class="o">=</span> <span class="n">new</span> <span class="n">MemoryStream</span><span class="p">(</span><span class="n">content</span><span class="p">);</span>
+
+<span class="n">IDocument</span> <span class="n">doc</span> <span class="o">=</span> <span class="n">folder</span><span class="p">.</span><span class="n">CreateDocument</span><span class="p">(</span><span class="n">properties</span><span class="p">,</span> <span class="n">contentStream</span><span class="p">,</span> <span class="n">null</span><span class="p">);</span>
 </pre></div>
 
 
 <p><a name="GettingstartedwithDotCMIS-Updatingproperties"></a></p>
 <h2 id="updating_properties">Updating properties</h2>
-<p>:::C#
-    ICmisObject cmisObject = ...</p>
-<div class="codehilite"><pre><span class="n">IDictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">object</span><span class="o">&gt;</span> <span class="n">properties</span> <span class="o">=</span> <span class="k">new</span> <span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">object</span><span class="o">&gt;</span><span class="p">();</span>
+<div class="codehilite"><pre><span class="n">ICmisObject</span> <span class="n">cmisObject</span> <span class="o">=</span> <span class="p">...</span>
+
+<span class="n">IDictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">object</span><span class="o">&gt;</span> <span class="n">properties</span> <span class="o">=</span> <span class="n">new</span> <span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">object</span><span class="o">&gt;</span><span class="p">();</span>
 <span class="n">properties</span><span class="p">[</span><span class="s">&quot;my:string&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="s">&quot;a string&quot;</span><span class="p">;</span>
 <span class="n">properties</span><span class="p">[</span><span class="s">&quot;my:int&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="mi">42</span><span class="p">;</span>
-<span class="n">properties</span><span class="p">[</span><span class="s">&quot;my:date&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="n">DateTime</span><span class="o">.</span><span class="n">Now</span><span class="p">;</span>
+<span class="n">properties</span><span class="p">[</span><span class="s">&quot;my:date&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="n">DateTime</span><span class="p">.</span><span class="n">Now</span><span class="p">;</span>
 
-<span class="n">IObjectId</span> <span class="n">newId</span> <span class="o">=</span> <span class="n">cmisObject</span><span class="o">.</span><span class="n">UpdateProperties</span><span class="p">(</span><span class="n">properties</span><span class="p">);</span>
+<span class="n">IObjectId</span> <span class="n">newId</span> <span class="o">=</span> <span class="n">cmisObject</span><span class="p">.</span><span class="n">UpdateProperties</span><span class="p">(</span><span class="n">properties</span><span class="p">);</span>
 
-<span class="k">if</span> <span class="p">(</span><span class="n">newId</span><span class="o">.</span><span class="n">Id</span> <span class="o">==</span> <span class="n">cmisObject</span><span class="o">.</span><span class="n">Id</span><span class="p">)</span> 
+<span class="k">if</span> <span class="p">(</span><span class="n">newId</span><span class="p">.</span><span class="n">Id</span> <span class="o">==</span> <span class="n">cmisObject</span><span class="p">.</span><span class="n">Id</span><span class="p">)</span> 
 <span class="p">{</span>
-    <span class="sr">//</span> <span class="n">the</span> <span class="n">repository</span> <span class="n">updated</span> <span class="n">this</span> <span class="n">object</span> <span class="o">-</span> <span class="n">refresh</span> <span class="n">the</span> <span class="n">object</span>
-    <span class="n">cmisObject</span><span class="o">.</span><span class="n">Refresh</span><span class="p">();</span>
+    <span class="c1">// the repository updated this object - refresh the object</span>
+    <span class="n">cmisObject</span><span class="p">.</span><span class="n">Refresh</span><span class="p">();</span>
 <span class="p">}</span>
 <span class="k">else</span>
 <span class="p">{</span>
-    <span class="sr">//</span> <span class="n">the</span> <span class="n">repository</span> <span class="n">created</span> <span class="n">a</span> <span class="k">new</span> <span class="n">version</span> <span class="o">-</span> <span class="n">fetch</span> <span class="n">the</span> <span class="k">new</span> <span class="n">version</span>
-    <span class="n">cmisObject</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="n">GetObject</span><span class="p">(</span><span class="n">newId</span><span class="p">);</span>
+    <span class="c1">// the repository created a new version - fetch the new version</span>
+    <span class="n">cmisObject</span> <span class="o">=</span> <span class="n">session</span><span class="p">.</span><span class="n">GetObject</span><span class="p">(</span><span class="n">newId</span><span class="p">);</span>
 <span class="p">}</span>
 </pre></div>
 
 
 <p><a name="GettingstartedwithDotCMIS-Deletinganobject"></a></p>
 <h2 id="deleting_an_object">Deleting an object</h2>
-<p>:::C#
-    IObjectId newId = session.CreateObjectId("12345678"):
-    ICmisObject cmisObject = session.GetObject(newId);</p>
-<div class="codehilite"><pre><span class="n">cmisObject</span><span class="o">.</span><span class="n">Delete</span><span class="p">(</span><span class="n">true</span><span class="p">);</span>
+<div class="codehilite"><pre><span class="n">IObjectId</span> <span class="n">newId</span> <span class="o">=</span> <span class="n">session</span><span class="p">.</span><span class="n">CreateObjectId</span><span class="p">(</span><span class="s">&quot;12345678&quot;</span><span class="p">)</span><span class="o">:</span>
+<span class="n">ICmisObject</span> <span class="n">cmisObject</span> <span class="o">=</span> <span class="n">session</span><span class="p">.</span><span class="n">GetObject</span><span class="p">(</span><span class="n">newId</span><span class="p">);</span>
+
+<span class="n">cmisObject</span><span class="p">.</span><span class="n">Delete</span><span class="p">(</span><span class="nb">true</span><span class="p">);</span>
 </pre></div>
 
 
 <p><a name="GettingstartedwithDotCMIS-Performingaquery"></a></p>
 <h2 id="performing_a_query">Performing a query</h2>
-<p>:::C#
-    IItemEnumerable<IQueryResult> qr = session.Query("SELECT * FROM cmis:document", false);</p>
-<div class="codehilite"><pre><span class="k">foreach</span> <span class="p">(</span><span class="n">IQueryResult</span> <span class="n">hit</span> <span class="n">in</span> <span class="sx">qr)</span>
-<span class="sx">{</span>
-<span class="sx">    Console.WriteLine(hit[&quot;cmis:name&quot;].FirstValue + &quot; (&quot; + hit[&quot;cmis:objectId&quot;].FirstValue + &quot;)</span><span class="err">&quot;</span><span class="p">);</span>
+<div class="codehilite"><pre><span class="n">IItemEnumerable</span><span class="o">&lt;</span><span class="n">IQueryResult</span><span class="o">&gt;</span> <span class="n">qr</span> <span class="o">=</span> <span class="n">session</span><span class="p">.</span><span class="n">Query</span><span class="p">(</span><span class="s">&quot;SELECT * FROM cmis:document&quot;</span><span class="p">,</span> <span class="nb">false</span><span class="p">);</span>
+
+<span class="n">foreach</span> <span class="p">(</span><span class="n">IQueryResult</span> <span class="n">hit</span> <span class="n">in</span> <span class="n">qr</span><span class="p">)</span>
+<span class="p">{</span>
+    <span class="n">Console</span><span class="p">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="n">hit</span><span class="p">[</span><span class="s">&quot;cmis:name&quot;</span><span class="p">].</span><span class="n">FirstValue</span> <span class="o">+</span> <span class="s">&quot; (&quot;</span> <span class="o">+</span> <span class="n">hit</span><span class="p">[</span><span class="s">&quot;cmis:objectId&quot;</span><span class="p">].</span><span class="n">FirstValue</span> <span class="o">+</span> <span class="s">&quot;)&quot;</span><span class="p">);</span>
 <span class="p">}</span>
 </pre></div></div>
              <!-- Content -->



Mime
View raw message