コード例 #1
0
 /// <summary>
 /// Writes a service document with the specified <paramref name="defaultWorkspace"/> 
 /// as message payload.
 /// </summary>
 /// <param name="defaultWorkspace">The default workspace to write in the service document.</param>
 private void WriteServiceDocumentImplementation(ODataWorkspace defaultWorkspace)
 {
     ODataJsonServiceDocumentSerializer jsonServiceDocumentSerializer = new ODataJsonServiceDocumentSerializer(this);
     jsonServiceDocumentSerializer.WriteServiceDocument(defaultWorkspace);
 }
コード例 #2
0
        /// <summary>
        /// Writes a service document with the specified <paramref name="defaultWorkspace"/>
        /// as message payload.
        /// </summary>
        /// <param name="defaultWorkspace">The default workspace to write in the service document.</param>
        private void WriteServiceDocumentImplementation(ODataWorkspace defaultWorkspace)
        {
            ODataJsonServiceDocumentSerializer jsonServiceDocumentSerializer = new ODataJsonServiceDocumentSerializer(this);

            jsonServiceDocumentSerializer.WriteServiceDocument(defaultWorkspace);
        }