Server/Properties/Resources.resx
author sl
Thu, 14 Aug 2014 18:37:23 +0200
changeset 29 c4e03315035c
parent 0 f6eca6facd07
child 94 fe939a729030
permissions -rw-r--r--
Client/Server duplex is still a mess in C#.
sl@0
     1
<?xml version="1.0" encoding="utf-8"?>
sl@0
     2
<root>
sl@0
     3
  <!-- 
sl@0
     4
    Microsoft ResX Schema 
sl@0
     5
    
sl@0
     6
    Version 2.0
sl@0
     7
    
sl@0
     8
    The primary goals of this format is to allow a simple XML format 
sl@0
     9
    that is mostly human readable. The generation and parsing of the 
sl@0
    10
    various data types are done through the TypeConverter classes 
sl@0
    11
    associated with the data types.
sl@0
    12
    
sl@0
    13
    Example:
sl@0
    14
    
sl@0
    15
    ... ado.net/XML headers & schema ...
sl@0
    16
    <resheader name="resmimetype">text/microsoft-resx</resheader>
sl@0
    17
    <resheader name="version">2.0</resheader>
sl@0
    18
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
sl@0
    19
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
sl@0
    20
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
sl@0
    21
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
sl@0
    22
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
sl@0
    23
        <value>[base64 mime encoded serialized .NET Framework object]</value>
sl@0
    24
    </data>
sl@0
    25
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
sl@0
    26
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
sl@0
    27
        <comment>This is a comment</comment>
sl@0
    28
    </data>
sl@0
    29
                
sl@0
    30
    There are any number of "resheader" rows that contain simple 
sl@0
    31
    name/value pairs.
sl@0
    32
    
sl@0
    33
    Each data row contains a name, and value. The row also contains a 
sl@0
    34
    type or mimetype. Type corresponds to a .NET class that support 
sl@0
    35
    text/value conversion through the TypeConverter architecture. 
sl@0
    36
    Classes that don't support this are serialized and stored with the 
sl@0
    37
    mimetype set.
sl@0
    38
    
sl@0
    39
    The mimetype is used for serialized objects, and tells the 
sl@0
    40
    ResXResourceReader how to depersist the object. This is currently not 
sl@0
    41
    extensible. For a given mimetype the value must be set accordingly:
sl@0
    42
    
sl@0
    43
    Note - application/x-microsoft.net.object.binary.base64 is the format 
sl@0
    44
    that the ResXResourceWriter will generate, however the reader can 
sl@0
    45
    read any of the formats listed below.
sl@0
    46
    
sl@0
    47
    mimetype: application/x-microsoft.net.object.binary.base64
sl@0
    48
    value   : The object must be serialized with 
sl@0
    49
            : System.Serialization.Formatters.Binary.BinaryFormatter
sl@0
    50
            : and then encoded with base64 encoding.
sl@0
    51
    
sl@0
    52
    mimetype: application/x-microsoft.net.object.soap.base64
sl@0
    53
    value   : The object must be serialized with 
sl@0
    54
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
sl@0
    55
            : and then encoded with base64 encoding.
sl@0
    56
sl@0
    57
    mimetype: application/x-microsoft.net.object.bytearray.base64
sl@0
    58
    value   : The object must be serialized into a byte array 
sl@0
    59
            : using a System.ComponentModel.TypeConverter
sl@0
    60
            : and then encoded with base64 encoding.
sl@0
    61
    -->
sl@0
    62
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
sl@0
    63
    <xsd:element name="root" msdata:IsDataSet="true">
sl@0
    64
      <xsd:complexType>
sl@0
    65
        <xsd:choice maxOccurs="unbounded">
sl@0
    66
          <xsd:element name="metadata">
sl@0
    67
            <xsd:complexType>
sl@0
    68
              <xsd:sequence>
sl@0
    69
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
sl@0
    70
              </xsd:sequence>
sl@0
    71
              <xsd:attribute name="name" type="xsd:string" />
sl@0
    72
              <xsd:attribute name="type" type="xsd:string" />
sl@0
    73
              <xsd:attribute name="mimetype" type="xsd:string" />
sl@0
    74
            </xsd:complexType>
sl@0
    75
          </xsd:element>
sl@0
    76
          <xsd:element name="assembly">
sl@0
    77
            <xsd:complexType>
sl@0
    78
              <xsd:attribute name="alias" type="xsd:string" />
sl@0
    79
              <xsd:attribute name="name" type="xsd:string" />
sl@0
    80
            </xsd:complexType>
sl@0
    81
          </xsd:element>
sl@0
    82
          <xsd:element name="data">
sl@0
    83
            <xsd:complexType>
sl@0
    84
              <xsd:sequence>
sl@0
    85
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
sl@0
    86
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
sl@0
    87
              </xsd:sequence>
sl@0
    88
              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
sl@0
    89
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
sl@0
    90
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
sl@0
    91
            </xsd:complexType>
sl@0
    92
          </xsd:element>
sl@0
    93
          <xsd:element name="resheader">
sl@0
    94
            <xsd:complexType>
sl@0
    95
              <xsd:sequence>
sl@0
    96
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
sl@0
    97
              </xsd:sequence>
sl@0
    98
              <xsd:attribute name="name" type="xsd:string" use="required" />
sl@0
    99
            </xsd:complexType>
sl@0
   100
          </xsd:element>
sl@0
   101
        </xsd:choice>
sl@0
   102
      </xsd:complexType>
sl@0
   103
    </xsd:element>
sl@0
   104
  </xsd:schema>
sl@0
   105
  <resheader name="resmimetype">
sl@0
   106
    <value>text/microsoft-resx</value>
sl@0
   107
  </resheader>
sl@0
   108
  <resheader name="version">
sl@0
   109
    <value>2.0</value>
sl@0
   110
  </resheader>
sl@0
   111
  <resheader name="reader">
sl@0
   112
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
sl@0
   113
  </resheader>
sl@0
   114
  <resheader name="writer">
sl@0
   115
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
sl@0
   116
  </resheader>
sl@0
   117
</root>