[libvirt] C# bindins web page changes

?Hi Justin, since renaming of the C# bindings is done, the usage described has also to be changed. I'll try to explain you : the project no more expose the namespace "libvirtBindings", in place the new namespace is "Libvirt". The Libvirt namespace expose all types needed (struct, enum...) Now there is more classes to expose API methods : - virConnect... methods (virConnectOpen, virConnectNumOfDomains,etc) are in the "Connect" class. For example, "virConnectOpenAuth" is "Connect.OpenAuth" method in bindings, "virConnectNumOfDomains" is "Connect.NumOfDomains" In the same manner : virDomain... methods are in the "Domain" class virEvent... in the "Event" class virInterface... in the "Interface" class virNetwork... in the "Network" class virNode... in the "Node" class virSecret... in the "Secret" class (even if nothing is binded in it :S but it will be) virStoragePool... in the "StoragePool" class virStorageVolume... in the "StorageVolume" class virStream... in the "Stream" class There is some exceptions in fact : - there is a class "Library" which expose "virGetVersion" and "virInitialize" methods - the class "Errors" which expose error related methods (for example "virSetErrorFunc" or "virConnResetLastError") Best regards, Arnaud

On 10/28/2010 08:22 AM, arnaud.champion@devatom.fr wrote:
?Hi Justin,
since renaming of the C# bindings is done, the usage described has also to be changed.
I'll try to explain you :
the project no more expose the namespace "libvirtBindings", in place the new namespace is "Libvirt".
Ok. Is this updated version correct? http://justinclift.fedorapeople.org/csharp/csharp.html#usage Also, is the name of the .dll file still "LibvirtBindings.dll"? The "Test Configuration" part has also been changed on that page. The tables have been converted from your .xls file too. Let me know what needs to be changed, or if we can update the main libvirt.org site with the new page. :) Regards and best wishes, Justin Clift

?Yes it's perfect. The dll name is still LibvirtBindings.dll. Just a little error : "plus many classes exposng the libvirt API", the "i" miss... Regards, Arnaud -------------------------------------------------- From: "Justin Clift" <jclift@redhat.com> Sent: Thursday, October 28, 2010 9:36 AM To: <arnaud.champion@devatom.fr> Cc: <libvir-list@redhat.com> Subject: Re: C# bindins web page changes
On 10/28/2010 08:22 AM, arnaud.champion@devatom.fr wrote:
?Hi Justin,
since renaming of the C# bindings is done, the usage described has also to be changed.
I'll try to explain you :
the project no more expose the namespace "libvirtBindings", in place the new namespace is "Libvirt".
Ok. Is this updated version correct?
http://justinclift.fedorapeople.org/csharp/csharp.html#usage
Also, is the name of the .dll file still "LibvirtBindings.dll"?
The "Test Configuration" part has also been changed on that page. The tables have been converted from your .xls file too.
Let me know what needs to be changed, or if we can update the main libvirt.org site with the new page. :)
Regards and best wishes,
Justin Clift
participants (2)
-
arnaud.champion@devatom.fr
-
Justin Clift