J
Jon Slaughter
Is it possible for delegates to see members in in a class that has the
delegate definition in it?
Basically I want the ability to have users to define there own methods to
incorporate into my class. But instead of having to pass a few fields around
to them when I call them I wonder if there is an easier way for them to see
it?
so I want
class {
delegate
delegate_Collection
call delegates in c ollection
}
some method that gets added to collection in class
{
needs to use a field in class
}
(of course I can pass the field to the method but again I wondering if there
is a better solution)
essentially I want the methods to be as if they were in the class.. well,
they don't need complete unrestricted access and I guess I'll end up having
to pass a reference to the method of the class.
Thanks,
Jon
delegate definition in it?
Basically I want the ability to have users to define there own methods to
incorporate into my class. But instead of having to pass a few fields around
to them when I call them I wonder if there is an easier way for them to see
it?
so I want
class {
delegate
delegate_Collection
call delegates in c ollection
}
some method that gets added to collection in class
{
needs to use a field in class
}
(of course I can pass the field to the method but again I wondering if there
is a better solution)
essentially I want the methods to be as if they were in the class.. well,
they don't need complete unrestricted access and I guess I'll end up having
to pass a reference to the method of the class.
Thanks,
Jon