~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/Newtonsoft.Json/Doc/CustomCreationConverter.aml

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
Import upstream version 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<topic id="CustomCreationConverter" revisionNumber="1">
 
3
  <developerConceptualDocument xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:xlink="http://www.w3.org/1999/xlink">
 
4
    <!--
 
5
    <summary>
 
6
      <para>Optional summary abstract</para>
 
7
    </summary>
 
8
    -->
 
9
    <introduction>
 
10
      <para>The <codeEntityReference>T:Newtonsoft.Json.Converters.CustomCreationConverter`1</codeEntityReference>
 
11
      is a JsonConverter that provides a way
 
12
      to customize how an object is created during JSON deserialization. Once
 
13
      the object has been created it will then have values populated onto it by
 
14
      the serializer.</para>
 
15
    </introduction>
 
16
    <section>
 
17
      <title>Example</title>
 
18
      <content>
 
19
<code lang="cs" source="..\Src\Newtonsoft.Json.Tests\Documentation\SerializationTests.cs" region="CustomCreationConverterObject" title="CustomCreationConverter" />
 
20
        <para>This is an extremely simple example. A more complicated scenario
 
21
        could involve an object factory or service locator which resolves the
 
22
        object at runtime.</para>
 
23
<code lang="cs" source="..\Src\Newtonsoft.Json.Tests\Documentation\SerializationTests.cs" region="CustomCreationConverterExample" title="CustomCreationConverter Example" />
 
24
      </content>
 
25
    </section>
 
26
    <relatedTopics>
 
27
      <codeEntityReference>T:Newtonsoft.Json.Converters.CustomCreationConverter`1</codeEntityReference>
 
28
    </relatedTopics>
 
29
  </developerConceptualDocument>
 
30
</topic>
 
 
b'\\ No newline at end of file'