Theo69
(Theo)
July 11, 2019, 8:11pm
1
In VB, I can write the following:
Public Class x
Implements IDisposable
Public Sub DoDisposeNow() Implements IDisposable.Dispose
Dispose(True)
End Sub
When I want to call the dispose function from the class , I have to write:
x.DoDisposeNow
But when I do it from the interface, I have to write (first part is a cast to the interface):
directcast(x, IDisposable).Dispose
Is this possible in Oxygene?
If not, How do I resolve a conflict between 2 interfaces?
mh
(marc hoffman)
July 11, 2019, 9:03pm
2
Theo69
(Theo)
July 11, 2019, 9:09pm
3
Thanks.
I always find it hard to find the information within the docs
1 Like
mh
(marc hoffman)
July 11, 2019, 10:00pm
4
Ideas how to improve discoverability would be appreciated. The content in there Oxygene section is pretty solid, with Types and Type Members 100% compete (Statements and Expressions is next on my list), but I agree it can be hard to find stuff if you don’t know where to look…
joseasl
(joseasl)
July 11, 2019, 10:21pm
5
The change @ck made the other day is a huge improvement.
1 Like
Theo69
(Theo)
July 12, 2019, 10:39am
6
Hi Marc, it would be nice if I could search within the text - like a google search on the docs.
Theo69
(Theo)
July 12, 2019, 11:07am
8
How?
I type interfaces, press enter and nothing (exept the URL) changes.
Am I in the wrong place?
ck
(Carlo Kok)
July 12, 2019, 11:18am
9
Is there a chance you have javascript disabled? Typing in that box should end up with #q=interfaces, not ? (but disabling it will do that).
Theo69
(Theo)
July 12, 2019, 11:22am
10
You have a point - I alway use this from Visual studio.
Just tried it from firefox and indeed, now I get results.
But it looks like it is doing an OR with multile words.
Can I do AND?
Edit:
I just tried google itself:
searched for: site:docs.elementscompiler.com overide class
And that really works !
1 Like
ck
(Carlo Kok)
July 12, 2019, 11:28am
11
yeah google ofc works.
but the search should be fairly decent. I’ll look into AND support. Only just set this up the other day based on SOLR.
1 Like