Go Back   ZeroC Forums > Comments

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 08-09-2006
programmerdad programmerdad is offline
Registered User
 
 
Join Date: Aug 2006
Location: London, Ontario, Canada
Posts: 8
Feature Request: partial classes / structs in .net

It would be nice if the generated types under .net could be partial. This would not likely be portable, but it's somewhat of a standard for auto-generated code under .net and would be very useful (for example, I need it now to provide a conversion function).
__________________
Chris Cauchi
Scholar's Choice
Ice Project: core enterprise services rewrite
Reply With Quote
  #2 (permalink)  
Old 08-09-2006
michi's Avatar
michi michi is offline
ZeroC Staff
 
Name: Michi Henning
Organization: ZeroC
Project: Ice
 
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 907
The problem with doing is that it limits the generated code to C# 2.0. (As it stands, the generated code works regardless of the language version.)

I can have a look at doing this at some point, but it's not likely to happen soon. If you have a commercial need for this features, please contact us at info@zeroc.com.

Cheers,

Michi.
Reply With Quote
  #3 (permalink)  
Old 08-09-2006
programmerdad programmerdad is offline
Registered User
 
 
Join Date: Aug 2006
Location: London, Ontario, Canada
Posts: 8
It would be nice to have it as an option, so those using .net 2.0+ could take advantage. Just a single keyword, one might be tempted to think they could add it themselves (I'm not naming any names). However, things are rarely as simple as they seem. Think I'll just wait or do post-gen customization (which is a terrible method).
__________________
Chris Cauchi
Scholar's Choice
Ice Project: core enterprise services rewrite
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Latency: structs vs. classes n2503v Help Center 7 10-09-2005 01:08 AM
Small C# Feature Request acbell Comments 1 04-21-2005 02:12 AM
Feature Request: LDAP support for Galcier2 DeepDiver Comments 6 04-11-2005 04:39 PM
Feature request: Mutex classes stephan Comments 1 03-27-2005 04:25 PM
Feature Request: generate constructors with parameter for initialization DeepDiver Comments 2 01-04-2005 11:05 AM


All times are GMT -4. The time now is 08:12 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.