W
wiredless
What is the advantage of passing an interface type?
according to UML (visio) when i reverse engineer existing code to a UML
diagram I get the error
"UMLE00046: sample[Parameter] : [Parameter - WFR1] - An interface cannot be
used as the type of a parameter."
for this code:
public void OnUpdate(CCC.Sys.TestProc.ISample sample)
{
however the application does compile and run correctly.
Yes its not my code.
What is the advantage of passing an interface type?
Since UML doesn't like it should I not do it?
Thanks
according to UML (visio) when i reverse engineer existing code to a UML
diagram I get the error
"UMLE00046: sample[Parameter] : [Parameter - WFR1] - An interface cannot be
used as the type of a parameter."
for this code:
public void OnUpdate(CCC.Sys.TestProc.ISample sample)
{
however the application does compile and run correctly.
Yes its not my code.
What is the advantage of passing an interface type?
Since UML doesn't like it should I not do it?
Thanks