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" />
2011-11-09 16:01:51 +00:00
<TypeSignature Language= "ILAsm" Value= ".class public auto ansi beforefieldinit FileUtils extends System.Object" />
2003-02-12 01:58:24 +00:00
<AssemblyInfo >
<AssemblyName > glib-sharp</AssemblyName>
2003-12-04 21:09:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
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
<Base >
<BaseTypeName > System.Object</BaseTypeName>
</Base>
<Interfaces />
2009-01-06 16:29:49 +00: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 01:58:24 +00:00
<Members >
<Member MemberName= "GetFileContents" >
<MemberSignature Language= "C#" Value= "public static string GetFileContents (string filename);" />
2011-11-09 16:01:51 +00:00
<MemberSignature Language= "ILAsm" Value= ".method public static hidebysig string GetFileContents(string filename) cil managed" />
2003-02-12 01:58:24 +00:00
<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
<param name= "filename" > The file GetFileContents() should retrieve its result from. An object of type <see cref= "T:System.String" /> </param>
2009-01-06 16:29:49 +00:00
<summary > Returns a string containing the contents of the text file passed as the 'filename' parameter.</summary>
2004-06-27 14:47:17 +00: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 01:58:24 +00:00
</Docs>
</Member>
</Members>
2005-05-23 20:41:51 +00:00
</Type>