Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Design issues
Message
De
08/08/2010 03:45:00
 
 
À
08/08/2010 03:15:29
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Titre:
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01475236
Message ID:
01475640
Vues:
21
>If you mean that you need to access other properties/methods of the Parser class from the RWTCOverride method then ?:
Public Class ClassThatOverridesAParserMethod
>    Dim loParser As Parser
>    Public Function GetPage() As Boolean
>        loParser = New Parser()
>        loParser.Handler = AddressOf RWTCOverride
>        Return loParser.ParseForTable()
>    End Function
>
>    Function RWTCOverride() As Boolean
>        'Access the Parser e.g:
>        Dim s As String = loParser.SomeItem
>        Return False
>    End Function
>End Class
Ok, using it as a Public property would work. I can reference a loParser.cValue as is in the Override method.

>I think we're at cross purposes here. I don't understand why, given a Parser object with the correct behaviour, you need any override code in the class that uses it.

I just thought you mentioned there would be a simpler way to accomplish this.

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform