S
Sunny
Hi All,
I have a serious issue regarding classes scope and
visibility. In my application, i have a class
name "TextFile", and also a few other classes
like "TotalWords", "TotalLines" and etc.., which are
suppose to describe the structure of my main TextFile
class. Also i have created some custom collection classes,
which only take items of the types, they are designed for.
Now the problem is that I want my element classes,
like "TotalWords", "TotalLines" to be visible only to the
children of my main, "TextFile" class, that is once i
create an instance of a "TextFile" class should these
other classes be visible, to create details of a TextFile.
Where in my code should i place these classes and also
their collection (wrapper classes).
The main problem i am facing is that, my Collections are
getting incremented multiple times, and i am in a big wreck
Thanks in Advance for any consideration
With Regards! Sunny
I have a serious issue regarding classes scope and
visibility. In my application, i have a class
name "TextFile", and also a few other classes
like "TotalWords", "TotalLines" and etc.., which are
suppose to describe the structure of my main TextFile
class. Also i have created some custom collection classes,
which only take items of the types, they are designed for.
Now the problem is that I want my element classes,
like "TotalWords", "TotalLines" to be visible only to the
children of my main, "TextFile" class, that is once i
create an instance of a "TextFile" class should these
other classes be visible, to create details of a TextFile.
Where in my code should i place these classes and also
their collection (wrapper classes).
The main problem i am facing is that, my Collections are
getting incremented multiple times, and i am in a big wreck
Thanks in Advance for any consideration
With Regards! Sunny