2003-02-12 02:58:24 +01:00
<Type Name= "FileUtils" FullName= "GLib.FileUtils" >
2003-02-15 04:08:25 +01:00
<TypeSignature Language= "C#" Value= "public class FileUtils" Maintainer= "auto" />
2003-02-12 02:58:24 +01:00
<AssemblyInfo >
<AssemblyName > glib-sharp</AssemblyName>
2003-12-04 22:09:30 +01:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-02-12 02:58:24 +01:00
</AssemblyInfo>
2003-02-23 08:26:30 +01:00
<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>
2003-02-12 02:58:24 +01:00
<Base >
<BaseTypeName > System.Object</BaseTypeName>
</Base>
<Interfaces />
2009-01-06 17:29:49 +01:00
<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>
2003-02-12 02:58:24 +01:00
<Members >
<Member MemberName= "GetFileContents" >
<MemberSignature Language= "C#" Value= "public static string GetFileContents (string filename);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Parameters >
2003-08-30 04:35:39 +02:00
<Parameter Name= "filename" Type= "System.String" />
</Parameters>
2003-02-12 02:58:24 +01:00
<Docs >
2004-06-27 16:47:17 +02:00
<param name= "filename" > The file GetFileContents() should retrieve its result from. An object of type <see cref= "T:System.String" /> </param>
2009-01-06 17:29:49 +01:00
<summary > Returns a string containing the contents of the text file passed as the 'filename' parameter.</summary>
2004-06-27 16:47:17 +02:00
<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>
2003-02-12 02:58:24 +01:00
</Docs>
</Member>
</Members>
2005-05-23 22:41:51 +02:00
</Type>