Closed
Description
I often have to write:
assert.Implement<IMyInterface>(myObject)
myObjectAsMyInterface := myObject as IMyInterface
What do you think of chaning the method
procedure Assert.Implement<T>(...)
to
function Assert.Implement<T>(...) :T
?
With this it is possible to write:
myObjectAsMyInterface := assert.Implement<IMyInterface>(myObject)
Metadata
Assignees
Labels
No labels