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