Re: [libvirt] [PATCH] C#Bindings patch, rename classes

2010-10-20 Thread Matthias Bolte
2010/10/20 : > Hi, > > here is a new patch. It propose to separate types of function by classes. > For example : > > all virConnect[*] (virConnectOpen, virConnectNumOfDomains, etc...) functions > are in the virConnect class. > all virDomain[*] (virDomainCreate, virDomainDestroy, etc...) function a

Re: [libvirt] [PATCH] C#Bindings patch, rename classes

2010-10-20 Thread arnaud.champion
?You're are right. I just reference my own experience. Anyway, I'm putting Stream. -- From: "Daniel P. Berrange" Sent: Wednesday, October 20, 2010 2:59 PM To: Cc: Subject: Re: [libvirt] [PATCH] C#Bindings patch, rename cla

Re: [libvirt] [PATCH] C#Bindings patch, rename classes

2010-10-20 Thread Daniel P. Berrange
On Wed, Oct 20, 2010 at 02:56:37PM +0200, arnaud.champ...@devatom.fr wrote: > ?virStream will expose problems also, as Stream is also a class in .Net > framework Why is that any problem ? Namespaces exist precisely to solve this problem. You only need name uniqueness within the namespace. Regard

Re: [libvirt] [PATCH] C#Bindings patch, rename classes

2010-10-20 Thread arnaud.champion
?virStream will expose problems also, as Stream is also a class in .Net framework -- From: Sent: Wednesday, October 20, 2010 2:26 PM To: "Daniel P. Berrange" Cc: Subject: Re: [libvirt] [PATCH] C#Bindings patch, rename classes ?I

Re: [libvirt] [PATCH] C#Bindings patch, rename classes

2010-10-20 Thread arnaud.champion
t;Daniel P. Berrange" Sent: Wednesday, October 20, 2010 2:21 PM To: Cc: Subject: Re: [libvirt] [PATCH] C#Bindings patch, rename classes On Wed, Oct 20, 2010 at 02:07:45PM +0200, arnaud.champ...@devatom.fr wrote: ?Okay, I'll make the change... Currently at naming level, my problem is aro

Re: [libvirt] [PATCH] C#Bindings patch, rename classes

2010-10-20 Thread Daniel P. Berrange
On Wed, Oct 20, 2010 at 02:07:45PM +0200, arnaud.champ...@devatom.fr wrote: > ?Okay, I'll make the change... Currently at naming level, my problem is > around Error class. Do you have a suggestion ? What's wrong with following the example I gave, eg namespace Libvirt [ public class Error

Re: [libvirt] [PATCH] C#Bindings patch, rename classes

2010-10-20 Thread arnaud.champion
?Okay, I'll make the change... Currently at naming level, my problem is around Error class. Do you have a suggestion ? -- From: "Daniel P. Berrange" Sent: Wednesday, October 20, 2010 2:01 PM To: Cc: Subject: Re: [libvirt] [PA

Re: [libvirt] [PATCH] C#Bindings patch, rename classes

2010-10-20 Thread Daniel P. Berrange
On Wed, Oct 20, 2010 at 01:44:56PM +0200, arnaud.champ...@devatom.fr wrote: > ?Hi, > > here is a new patch. It propose to separate types of function by classes. For > example : > > all virConnect[*] (virConnectOpen, virConnectNumOfDomains, etc...) functions > are in the virConnect class. > all