2003-06-06 18:41:12 +00:00
<Type Name= "Client" FullName= "GConf.Client" >
2004-03-05 13:40:13 +00:00
<TypeSignature Language= "C#" Value= "public class Client : GConf.ClientBase" Maintainer= "John Luke" />
2003-06-06 18:41:12 +00:00
<AssemblyInfo >
<AssemblyName > gconf-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-06-06 18:41:12 +00:00
</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>
2009-01-08 16:49:42 +00:00
<Base >
<BaseTypeName > GConf.ClientBase</BaseTypeName>
</Base>
<Interfaces />
2003-06-06 18:41:12 +00:00
<Docs >
2003-07-17 02:56:34 +00:00
<summary > Basic functions to initialize GConf and get/set values.</summary>
<remarks > The following example attempts to retrieve a setting from GConf, and set a default value otherwise.</remarks>
<example >
<code language= "C#" >
string MyVal;
GConf.Client gconfClient = new GConf.Client ();
try
{
MyVal = (string) gconfClient.Get ("/apps/monoapps/SampleApp/setting1"));
}
catch (GConf.NoSuchKeyException)
{
gconfClient.Set ("/apps/monoapps/SampleApp/setting1", "sample");
}
</code>
</example>
2003-06-06 18:41:12 +00:00
</Docs>
<Members >
2009-01-08 16:49:42 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Client ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
2003-06-06 18:41:12 +00:00
<Parameters />
<Docs >
2009-01-08 16:49:42 +00:00
<summary > Creates a new <see cref= "T:GConf.Client" /> .</summary>
<remarks > This is the default constructor for <see cref= "T:GConf.Client" /> .</remarks>
2003-06-06 18:41:12 +00:00
</Docs>
</Member>
2009-01-08 16:49:42 +00:00
<Member MemberName= "AddNotify" >
<MemberSignature Language= "C#" Value= "public void AddNotify (string dir, GConf.NotifyEventHandler notify);" />
2003-06-06 18:41:12 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "dir" Type= "System.String" />
<Parameter Name= "notify" Type= "GConf.NotifyEventHandler" />
</Parameters>
<Docs >
2003-09-17 21:56:59 +00:00
<param name= "dir" > an object of type <see cref= "T:System.String" /> </param>
<param name= "notify" > an object of type <see cref= "T:GConf.NotifyEventHandler" /> </param>
2009-01-08 16:49:42 +00:00
<summary > Registers a notification request.</summary>
<remarks >
</remarks>
2003-06-06 18:41:12 +00:00
</Docs>
</Member>
2009-01-08 16:49:42 +00:00
<Member MemberName= "Get" >
<MemberSignature Language= "C#" Value= "public override object Get (string key);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Object</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "key" Type= "System.String" />
</Parameters>
<Docs >
<param name= "key" > To be added.</param>
<summary > To be added.</summary>
<returns > To be added.</returns>
<remarks > To be added.</remarks>
</Docs>
</Member>
<Member MemberName= "RemoveNotify" >
<MemberSignature Language= "C#" Value= "public void RemoveNotify (string dir, GConf.NotifyEventHandler notify);" />
2003-06-06 18:41:12 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "dir" Type= "System.String" />
<Parameter Name= "notify" Type= "GConf.NotifyEventHandler" />
</Parameters>
<Docs >
2003-09-17 21:56:59 +00:00
<param name= "dir" > an object of type <see cref= "T:System.String" /> </param>
<param name= "notify" > an object of type <see cref= "T:GConf.NotifyEventHandler" /> </param>
2009-01-08 16:49:42 +00:00
<summary > Removes a notification request.</summary>
<remarks />
2003-06-06 18:41:12 +00:00
</Docs>
</Member>
2009-01-08 16:49:42 +00:00
<Member MemberName= "SuggestSync" >
<MemberSignature Language= "C#" Value= "public void SuggestSync ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
2003-10-28 00:48:23 +00:00
<Parameters />
<Docs >
2009-01-08 16:49:42 +00:00
<summary > Suggests that you have just finished a block of changes, and it would be an optimal time to sync to permanent storage.</summary>
<remarks > This function is just a "hint" provided to maximize efficiency and minimize data loss.</remarks>
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
2003-06-06 18:41:12 +00:00
</Members>
2005-05-23 20:41:51 +00:00
</Type>