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