Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom Settings classes
Message
 
To
27/04/2007 14:54:17
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01220536
Message ID:
01220745
Views:
15
Tim,

>I was looking at the new documentation for 2.4 regarding the application settings classes. What I see is examples that show how to subclass mmAppConfiguration and then it jumps right into discussion on the config file sections. There seems to be a bit of a hole in the discussion as once you create a subclass there must be some way to implement this new subclass in the application. I can look through the MM stuff and figure out what will be needed, but would be nice if the documentation gave some info on implementing it the way you intended. Do I need to override a factory somewhere to let the application instantiate the proper class? Did I miss something?

You don't need to override a factory method because the class is not used internally in MM .NET (except in the Business Layer Generator). To use the class you just instantiate your specialized subclass when you need it and call the appropriate methods to read and write to your custom config file.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform