File: FileUtils.xml

package info (click to toggle)
gtk-sharp3 2.99.3-4.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 25,488 kB
  • sloc: xml: 308,885; cs: 38,796; sh: 11,336; perl: 1,295; makefile: 1,099; ansic: 903
file content (51 lines) | stat: -rw-r--r-- 2,206 bytes parent folder | download | duplicates (5)
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
<Type Name="FileUtils" FullName="GLib.FileUtils">
  <TypeSignature Language="C#" Value="public class FileUtils" Maintainer="auto" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit FileUtils extends System.Object" />
  <AssemblyInfo>
    <AssemblyName>glib-sharp</AssemblyName>
    <AssemblyPublicKey>
    </AssemblyPublicKey>
  </AssemblyInfo>
  <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
  <Base>
    <BaseTypeName>System.Object</BaseTypeName>
  </Base>
  <Interfaces />
  <Docs>
    <summary>A simple file IO utility class</summary>
    <remarks>Contains a single static method GetFileContents(string filename) which returns the contents of a text file as a string.</remarks>
  </Docs>
  <Members>
    <Member MemberName="GetFileContents">
      <MemberSignature Language="C#" Value="public static string GetFileContents (string filename);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig string GetFileContents(string filename) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="filename" Type="System.String" />
      </Parameters>
      <Docs>
        <param name="filename">The file GetFileContents() should retrieve its result from. An object of type <see cref="T:System.String" /></param>
        <summary>Returns a string containing the contents of the text file passed as the 'filename' parameter.</summary>
        <returns>Returns the contents of a text file. An object of type <see cref="T:System.String" /></returns>
        <remarks>
          <example>
            <code lang="C#">
using System;
                                                                                
class Test
 {
        public static void Main(string[] args)
        {
                Console.WriteLine(GLib.FileUtils.GetFileContents(args[0]));
        }
 }
  </code>
          </example>
        </remarks>
      </Docs>
    </Member>
  </Members>
</Type>