File: IFormatProvider.xml

package info (click to toggle)
monodoc 1.9-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 98,436 kB
  • ctags: 5,261
  • sloc: xml: 1,506,218; cs: 40,827; sh: 3,647; perl: 554; makefile: 476
file content (76 lines) | stat: -rwxr-xr-x 3,571 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<Type Name="IFormatProvider" FullName="System.IFormatProvider" FullNameSP="System_IFormatProvider" Maintainer="ecma">
  <TypeSignature Language="ILASM" Value=".class interface public abstract IFormatProvider" />
  <TypeSignature Language="C#" Value="public interface IFormatProvider" />
  <MemberOfLibrary>BCL</MemberOfLibrary>
  <AssemblyInfo>
    <AssemblyName>mscorlib</AssemblyName>
    <AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey>
    <AssemblyVersion>1.0.5000.0</AssemblyVersion>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Docs>
    <summary>
      <para>Implemented by classes that supply objects that provide formatting
      services.</para>
    </summary>
    <remarks>
      <block subset="none" type="note">
        <para>When a <paramref name="format specifier" /> includes symbols that
      vary by culture, such as the currency symbol included by the "C" and "c"
      formats, a <paramref name="formatting object" />
      supplies the actual characters used in a string representation of a numeric
      value. For example, a formatting object might supply "$" for the currency symbol.
      The formatting object for system-supplied numeric types is a <see cref="T:System.Globalization.NumberFormatInfo" />
      instance. For <see cref="T:System.DateTime" /> instances, a <see cref="T:System.Globalization.DateTimeFormatInfo" /> is used.</para>
        <para>
          <see cref="T:System.IFormatProvider" /> contains the <see cref="M:System.IFormatProvider.GetFormat(System.Type)" /> method. The consumer of an object
   should call this method to obtain a formatting object.</para>
      </block>
    </remarks>
  </Docs>
  <Members>
    <Member MemberName="GetFormat">
      <MemberSignature Language="ILASM" Value=".method public hidebysig virtual abstract object GetFormat(class System.Type formatType)" />
      <MemberSignature Language="C#" Value="public object GetFormat (Type format_type);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Object</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="format_type" Type="System.Type" />
      </Parameters>
      <Docs>
        <param name="format_type">The <see cref="T:System.Type" /> of the formatting object to be returned.</param>
        <summary>
          <para>Returns a <see cref="T:System.Object" /> that provides formatting services.</para>
        </summary>
        <returns>
          <para>The current instance, if <paramref name="formatType" /> is the same type as the current instance; otherwise, a <see langword="null" /> reference.</para>
        </returns>
        <remarks>
          <para>
            <block subset="none" type="behaviors">As described above.</block>
          </para>
          <para>
            <block subset="none" type="overrides">Implement in 
      classes that provide formatting objects for use in methods that generate or
      parse string representations of objects, such as <see langword="ToString" /> and
   <see langword="Parse" />.</block>
          </para>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
  </Members>
  <TypeExcluded>0</TypeExcluded>
  <Interfaces />
  <Attributes>
    <Attribute>
      <AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
    </Attribute>
  </Attributes>
</Type>