PC Review


Reply
Thread Tools Rate Thread

Conditional Initialization

 
 
=?Utf-8?B?YWRld29sZQ==?=
Guest
Posts: n/a
 
      31st Jul 2007
Hi there

If I have a "Customer" Class, for example, that has a collection of "Orders"
as a member. Normally, I'd instantiate the Orders collection in the Customer
Class Initialization Event. However, I only wish to instantiate the
collection only if I intend to expand Customer, to contain its children. Can
I do this?

Thanks
ade
 
Reply With Quote
 
 
 
Reply

Thread Tools
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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
STL map initialization Bob Altman Microsoft VC .NET 1 30th Jan 2008 02:27 AM
DLL INITIALIZATION =?Utf-8?B?Z3VuZ2E=?= Windows XP Help 2 1st Mar 2005 07:21 PM
DLL INITIALIZATION =?Utf-8?B?Z3VuZ2E=?= Windows XP General 2 22nd Feb 2005 05:11 PM
How to determine OS initialization phase during driver initialization? Alex Windows XP Drivers 4 5th Dec 2003 09:17 AM
initialization phillip Windows XP Hardware 0 7th Sep 2003 03:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:57 PM.